Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

RootNodeDepth

Summary

Define the depth where your siteaccess root is located.

Usage

RootNodeDepth=[value]

Description

RootNodeDepth is a setting for letting you have a very simple multi-site, single database and single siteaccess setup.
The content of the menus will be the same on all system pages like user/login, content/edit and so on, and also when you surf bellow the defined page_root_depth.

RootNodeDepth expects a value greater of equal to 0. 
This setting requires IndexPage to be defined, and RootNodeDepth needs to point the depth where your root location (defined in IndexPage).

The sites will also share siteaccess and thus also the same ez publish design and templates.
You can however customize the design with CSS using the class on div#page html output:

subtree_level_x_node_id_y class

Note: It is recommended to turn it of by setting it to 0 for normal sites

Examples

Example 1

[SiteSettings]
IndexPage=/content/view/full/145/
RootNodeDepth=2

Output

 root (menu shows sub sites as menu choices like it will on system pages)
 - sub site 1 (menu show content of this sub site)
 - sub site 2 (-- " --)
 - sub site 3 (-- " --)
 - sub site 4 (-- " --)
 - sub site 5 (-- " --)

The data returned will be the subtree contained by the root location defined in IndexPage.

Ricardo Correia (18/02/2013 3:29 pm)

Ricardo Correia (18/02/2013 4:28 pm)


Comments

There are no comments.