Forums / Setup & design / RootNode & RootNodeDepth - closed

RootNode & RootNodeDepth - closed

Author Message

scrieler _

Sunday 19 August 2007 7:59:05 am

Hello eZ Community!

I have config 2 Sites with 1 Admin.
The RootNode & RootNodeDepth is configurated in the Siteaccess Site1 and Site 2.

It runs correctly if I have Folders only, but if i use a frontsite my navigation goes back to last Node...

Whats wrong with my configuration?

André R.

Monday 20 August 2007 5:04:17 am

What version of eZ Publish and ezwebin do you have ?
And could you post your exact rootNode / rootNodeDepth settings!

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

scrieler _

Tuesday 21 August 2007 3:46:46 am

Hi!

eZ Version 3.9.2

[SiteSettings]
IndexPage=/content/view/full/SITE-ID
DefaultPage=/content/view/full/SITE-ID/
RootNodeDepth=2
RootNode=NODE-ID

Both in siteaccess for Site1 and Site2

If I use folders only it runs perfect...

André R.

Tuesday 21 August 2007 6:47:43 am

Some minor things:
* check if RootNodeDepth is set to something else in override/site.ini.append.php
* RootNode should be set in content.ini not site.ini

But I'm a bit unsure about what you mean by 'last Node' here:
> It runs correctly if I have Folders only, but if i use a frontsite my navigation goes back to last Node...

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

scrieler _

Wednesday 22 August 2007 12:14:45 am

Some minor things:
* check if RootNodeDepth is set to something else in override/site.ini.append.php
* RootNode should be set in content.ini not site.ini

But I'm a bit unsure about what you mean by 'last Node' here:
> It runs correctly if I have Folders only, but if i use a frontsite my navigation goes back to last Node...

In the override it isnt, i have tryed all possibilities to siteaccess and override.
RootNode is in the wrong ini, ok, i will try it next time.

example for understanding:

Nodetree
- Home
---- NoSite1
---- NoSite2
---- Site1
------ Folder1
-------- Folder2
------ Folder3
------ Folder4
---- Site2
------ FolderX
-------- Frontpage1
---------- FolderZ
------ FolderY

If i join Site1 i can see Folder1, Folder3 and Folder4 in navigation, its accurately which I want.

If i join Site2 i can see FolderX and FolderY in Navigation, but if i open a Frontpage i get NoSite1, NoSite2, Site1 and Site2 in my navigation...

If the first Page is a Frontpage I have the problem @ the beginning...

thx for help!!!!

scrieler _

Saturday 25 August 2007 3:43:20 am

Big Thanks!!!

I have moved the RootNode info in the content ini and it works fine. thx alot