The essence of NodeSettings / RootNode variable

Author Message

Piotrek Karaƛ

Tuesday 26 February 2008 11:47:41 pm

Hi,

I've just discovered that some of our node/structure-related problems might be caused by invalid RootNode settings. Now, I plan to test it thoroughly, but meanwhile I've got these questions:

1) What is the essence of RoodNode variable? What's it purpose? Shouldn't this variable always point to the top level node?

2) If a multiple-siteaccess installation has various RoodNode values per siteaccess, should bin/php/updateniceurls.php script be ever run for siteaccesses other than the one that has RootNode=2?

3) Shouldn't PathPrefix get replaced by RootNode all together? Right now PathPrefix only works for proficient enough users who know that they should not tamper with some nodes (because their name/path string will get altered). Wouldn't it be better to evaluate PathPrefix based on RootNode?

I'd be grateful for any suggestions.
Thanks.

PS. I know I contradict myself in the above questions, but I'm trying different angles as the day goes by... ;)

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

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 18 2025 15:01:36
Script start
Timing: Jan 18 2025 15:01:36
Module start 'layout'
Timing: Jan 18 2025 15:01:36
Module start 'content'
Timing: Jan 18 2025 15:01:37
Module end 'content'
Timing: Jan 18 2025 15:01:37
Script end

Main resources:

Total runtime1.3943 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.0469152.6406
Module start 'layout' 0.00470.0032 740.687539.4766
Module start 'content' 0.00801.3850 780.1641469.8750
Module end 'content' 1.39300.0013 1,250.03918.1250
Script end 1.3943  1,258.1641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2317160.0002
Check MTime0.00130.0952160.0001
Mysql Total
Database connection0.00070.048510.0007
Mysqli_queries1.350996.8820460.0294
Looping result0.00040.0305440.0000
Template Total1.359497.520.6797
Template load0.00250.176320.0012
Template processing1.356997.314720.6784
Template load and register function0.00010.007310.0001
states
state_id_array0.00130.096410.0013
state_identifier_array0.00360.257520.0018
Override
Cache load0.00210.1471120.0002
Sytem overhead
Fetch class attribute can translate value0.00070.047110.0007
Fetch class attribute name0.00090.065520.0005
XML
Image XML parsing0.00050.033610.0005
class_abstraction
Instantiating content class attribute0.00000.000320.0000
General
dbfile0.00130.0911170.0001
String conversion0.00000.000840.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 7
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs