Top level nodes
Below the root of the content tree every installation has the same five top level nodes. Each one is the start of a part of the administration interface and of a section, and settings refer to them by node ID.
| Node ID | Name | Section | Administration tab | Holds |
|---|---|---|---|---|
| 2 | Content (the site's front page) | Standard | Content structure | The site: folders, articles and pages. A public siteaccess shows this subtree. |
| 5 | Users | Users | User accounts | User groups and user accounts: Administrator users, Editors, Guest accounts and Anonymous users in a new installation. |
| 43 | Media | Media | Media library | Images, files and other media used by the site, in folders such as Images and Files. |
| 48 | Setup | Setup | Setup | Objects the system uses for setup, such as the Common ini settings and Template look objects. |
| 58 | Design | Design | Design | Objects that belong to the design. |
The node IDs are configured in content.ini [NodeSettings]:
[NodeSettings] RootNode=2 UserRootNode=5 MediaRootNode=43 SetupRootNode=48 DesignRootNode=58
Things to know
- Do not remove a top level node. The settings, the administration's tabs and the default policies point to them by ID.
- Change its type with Swap. The Content node is a folder in a new installation. To make the front page an object of another class, create that object elsewhere and swap the two nodes: the node keeps its ID, address and children, and shows the other object.
- A siteaccess can start lower in the tree. One installation can serve several sites from different subtrees: a siteaccess sets its front page in site.ini [SiteSettings] IndexPage, hides the start of the subtree from its addresses with [SiteAccessSettings] PathPrefix, and sets RootNode in its content.ini for the templates that build menus from it. This documentation site works that way.
- The Users node is where new accounts go: site.ini [UserSettings] DefaultUserPlacement=12 is the Guest accounts group below it, and the anonymous user (AnonymousUserID=10) is in Anonymous users.
Contributors
- Balazs Halasy
- Geir Arne Waaler
- Graham Brookins Updated Maintainer
Comments
Add a comment