Forums / Setup & design / Multisite - menu skips siteaccess settings

Multisite - menu skips siteaccess settings

Author Message

Valentin Svelland

Saturday 12 January 2008 4:59:56 am

My siteaccess defines following in site.ini.append.php under [Site settings]:

IndexPage=/content/view/full/334
DefaultPage=/content/view/full/334

Still, when visitors on my site enters an article inside subfolder of my indexpage (main-node), and the side-menu (of extension ezwebin) kicks in, the top menu shows the level above defined top level.

In other words, the templates override my siteaccess' site.ini.appennd.php-settigns.. Frustrating. Did anyone fixed this one without hardcoding changes in design-templates?

------------------------
I made eZ run on www.eigersund.kommune.no, bjerkreim.kommune.no, lund.kommune.no and sokndal.kommune.no. Municipalities should use open source!

Valentin Svelland

Saturday 12 January 2008 5:47:13 am

I'll answer this myself; simple solution in the end. Included this in the site.ini.append.php of my siteaccesses:

[SiteSettings]
RootNodeDepth=2

------------------------
I made eZ run on www.eigersund.kommune.no, bjerkreim.kommune.no, lund.kommune.no and sokndal.kommune.no. Municipalities should use open source!