Sunday 18 November 2007 2:53:59 am
Thank you very much for all your replies. I'm getting closer, but am not quite there. Here's my current setup:
site.ini.append.php:
[SiteSettings]
IndexPage=/content/view/full/474
DefaultPage=/content/view/full/474
RootNodeDepth=2
content.ini.append.php:
[NodeSettings]
RootNode=474
When I leave the line in flat_top.tpl untouched:
{def $root_node=fetch( 'content', 'node', hash( 'node_id', $indexpage ) )
Then the LEFT menu is good, but the TOP menu shows the contents of node 2 instead of 474. However, when I visit a system URL it does show the contents of root 474. When I change the line in flat_top.tpl to:
{def $root_node=fetch( 'content', 'node', hash( 'node_id', ezini( 'NodeSettings', 'RootNode', 'content.ini' ) ) )
Which should do the same IMO, than the LEFT menu is empty but the TOP menu does show the right contents of node 474, regardless whether I visit one of my own content objects or a system URL. I'm completely lost now. Hope you can help me out again! Thanks for your time, Maarten
|