Forums / Setup & design / How to redefine the RootNode ID

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