Share » Forums » Setup & design » Root node of a menu

Root node of a menu

Root node of a menu

Monday 04 June 2007 3:21:58 pm - 1 reply

Author Message

Greg McAvoy-Jensen

Monday 04 June 2007 4:06:12 pm

I've not done this before it looks like the process may be to create a file called <b>contentstructuremenu.ini.append.php</b> in ezpublish/settings/siteaccess/site1. Put this in the file:

<?php /* #?ini charset="iso-8859-1"?

[TreeMenu]
RootNodeID=x
*/ ?>

Replace "x" with the root node ID for site1. Then create a similar file for site2.
Then clear the caches. Again, since I haven't done this I don't know if there would be any unintended results. For more information, see http://ez.no/doc/ez_publish/technical_manual/3_9/reference/configuration_files/contentstructuremenu_ini/treemenu/rootnodeid.

However, if you just want different sites for different languages only, then see "Using several public siteaccesses" at http://ez.no/doc/ez_publish/technical_manual/3_9/features/multi_language/configuring_the_site_languages.

Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu