How to redefine the RootNode ID

Author Message

Pascal France

Thursday 01 June 2006 12:39:44 am

Hi,

My node tree looks like this:

|_Node ID 2 (eZ)
      |___Node 1
      |        |___Node 1.1
      |        |___Node 1.2
      |                  |___Node 1.2.1
      |                  |___Node 1.2.2
      |___Node 2
               |___Node 2.1
               |___Node 2.2
                         |___Node 2.2.1
                         |___Node 2.2.2

I can do a siteaccess administrator who can see (in Content menu) only:

Node 2
    |___Node 2.1
    |___Node 2.2
              |___Node 2.2.1
              |___Node 2.2.2

To be able to move Node 2.2.2 under Node 2:

Node 2
    |___Node 2.1
    |___Node 2.2
    |         |___Node 2.2.1
    |___Node 2.2.2

I need to be able to go back up to Node ID 2 (default eZP root node). But now, if I can go back up to Node ID 2 I can go back up to Node ID 1 too.

I played with:

[NodeSettings]
RootNode=x ID

in content.ini.append.php and with:
</code>
[TreeMenu]
RootNodeID=x ID
</code>
in contentstructuremenu.ini.append.php without success.
Of course, even I can display the Node ID 2, the admin role rights don't allow to select this node, therefore I can only select Node 2.

But isn't there a way to forbid the system to go back up Node ID 1 ?

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

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 07:27:08
Script start
Timing: Jan 19 2025 07:27:08
Module start 'layout'
Timing: Jan 19 2025 07:27:08
Module start 'content'
Timing: Jan 19 2025 07:27:09
Module end 'content'
Timing: Jan 19 2025 07:27:09
Script end

Main resources:

Total runtime0.8982 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.0060 589.1563152.6250
Module start 'layout' 0.00600.0026 741.781339.4609
Module start 'content' 0.00850.8882 781.2422438.9844
Module end 'content' 0.89670.0014 1,220.22668.1641
Script end 0.8981  1,228.3906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.4142160.0002
Check MTime0.00140.1511160.0001
Mysql Total
Database connection0.00090.098210.0009
Mysqli_queries0.851894.8338460.0185
Looping result0.00050.0525440.0000
Template Total0.864796.320.4323
Template load0.00200.223120.0010
Template processing0.862696.044220.4313
Template load and register function0.00040.042310.0004
states
state_id_array0.00190.208610.0019
state_identifier_array0.00140.153820.0007
Override
Cache load0.00160.1808220.0001
Sytem overhead
Fetch class attribute can translate value0.00090.103910.0009
Fetch class attribute name0.00070.076810.0007
XML
Image XML parsing0.00010.012210.0001
class_abstraction
Instantiating content class attribute0.00000.000510.0000
General
dbfile0.00080.0946100.0001
String conversion0.00000.001140.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.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: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs