Setting RootNode and UserRootNode

Author Message

Ronny Vedå

Tuesday 24 June 2003 7:40:53 am

Hi

I spotted the RootNode and UserRootNode settings in the content.ini

[NodeSettings]
# The node ID of the normal content tree
RootNode=2
# The node ID of the user tree
UserRootNode=5

What exactly does these settings do? At first i thought i would define what node is the root node og the document tree and user tree, but setting the RootNode to the node ID of a folder has no effect. (In the settings/override/content.ini.append file.) Nothing changes and I can still access the old root node.

It would be really useful to be able to add a content.ini.append file in the siteaccess folder (is this possible?) and specify a new root node. This node would be the root when logged in from this siteaccess and the nodes above the root node would be invisible and inaccessible.

The same goes for UserRootNode. When setting a user group to the new UserRootNode, only the users in this group should be accessible from this siteaccess.

Does anyone know how these settings works?

Ronny Vedå, Nexus Knowledge Solutions

Lachy Laycock

Tuesday 25 November 2003 1:36:27 am

I have tried various ways of setting the RootNode value and in all cases so far they do not seem to have any effect.

I am trying to set up a system where i can have multiple frontends with one backend and this would be the key to it's success.

Any idea why this is not working? Or are we doing it wrong?

Thanks.

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:06:52
Script start
Timing: Jan 18 2025 15:06:52
Module start 'layout'
Timing: Jan 18 2025 15:06:52
Module start 'content'
Timing: Jan 18 2025 15:06:53
Module end 'content'
Timing: Jan 18 2025 15:06:53
Script end

Main resources:

Total runtime0.8454 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 587.9219152.6250
Module start 'layout' 0.00440.0025 740.546939.4609
Module start 'content' 0.00700.8369 780.0078458.7656
Module end 'content' 0.84390.0015 1,238.77348.1563
Script end 0.8453  1,246.9297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3722160.0002
Check MTime0.00140.1647160.0001
Mysql Total
Database connection0.00070.082110.0007
Mysqli_queries0.805895.3176540.0149
Looping result0.00050.0535520.0000
Template Total0.819396.920.4096
Template load0.00220.257620.0011
Template processing0.817196.653720.4085
Template load and register function0.00010.014010.0001
states
state_id_array0.00120.146910.0012
state_identifier_array0.00130.156020.0007
Override
Cache load0.00180.2129200.0001
Sytem overhead
Fetch class attribute can translate value0.00050.057320.0002
Fetch class attribute name0.00090.101720.0004
XML
Image XML parsing0.00020.024320.0001
class_abstraction
Instantiating content class attribute0.00000.001820.0000
General
dbfile0.00070.0792100.0001
String conversion0.00000.000740.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/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: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs