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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 01:19:34
Script start
Timing: Jan 19 2025 01:19:34
Module start 'layout'
Timing: Jan 19 2025 01:19:34
Module start 'content'
Timing: Jan 19 2025 01:19:35
Module end 'content'
Timing: Jan 19 2025 01:19:35
Script end

Main resources:

Total runtime1.4998 sec
Peak memory usage4,096.0000 KB
Database Queries66

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0098 589.1563152.6250
Module start 'layout' 0.00980.0045 741.781339.4453
Module start 'content' 0.01431.4837 781.2266575.6563
Module end 'content' 1.49800.0017 1,356.882816.1563
Script end 1.4997  1,373.0391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.2373160.0002
Check MTime0.00150.1006160.0001
Mysql Total
Database connection0.00170.110410.0017
Mysqli_queries1.418994.6083660.0215
Looping result0.00070.0471640.0000
Template Total1.435395.720.7177
Template load0.00230.154820.0012
Template processing1.433095.547020.7165
Template load and register function0.00020.014910.0002
states
state_id_array0.00900.601810.0090
state_identifier_array0.00190.126020.0009
Override
Cache load0.00210.1382590.0000
Sytem overhead
Fetch class attribute can translate value0.00060.039220.0003
Fetch class attribute name0.00170.112870.0002
XML
Image XML parsing0.00080.052320.0004
class_abstraction
Instantiating content class attribute0.00000.001580.0000
General
dbfile0.00630.4178170.0004
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
9content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 31
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs