Making separate content branches

Making separate content branches

Wednesday 23 January 2008 6:17:02 am - 5 replies

Author Message

Elena Ivanova

Wednesday 23 January 2008 9:07:46 am

Hello,

In content.ini there is a section with the following settings:

[NodeSettings]
# The node ID of the normal content tree
RootNode=2
# The node ID of the user tree
UserRootNode=5
# The node ID for the media tree
MediaRootNode=43
# The node ID for the setup tree
SetupRootNode=48
# The node ID for the design tree
DesignRootNode=58

So, I think, you might need to add a similiar line for the new branch.

Niels Chr. Alstrup

Tuesday 05 February 2008 4:18:25 am

Thanks, that sounds reasonable.

My question is then: How will eZ then know my new 'CustomRootNode'?

And how do I create the root node as not to be a child of 'RootNode' and thus part of the standard Content Structure? Do I have to tweak the database?

L O O P
Niels Chr. Alstrup
+45 2077 3296
http://www.loop.bz

Elena Ivanova

Tuesday 05 February 2008 6:09:31 am

Hi,

Look up in <i>menu.ini</i>. There is an example of doing a custom root node.

Niels Chr. Alstrup

Thursday 07 February 2008 1:17:13 am

Hi

Yes, I know about adding a custom tab in the Admin interface using menu.ini.

What I wanted to know was, how to move the new custom node to the top level (along with Content, Media, User etc.). Sorry, if that didn't come through in my last post.

I actually found a solution:
http://ez.ryba.eu/index.php/ez_publish/lab/custom_top_level_nodes_is_that_possible_round_i_exploration

but, I am curious if anybody know a less 'crude' way of doing it (not involving direct sql-management).

Niels

L O O P
Niels Chr. Alstrup
+45 2077 3296
http://www.loop.bz

Piotrek Karaƛ

Tuesday 26 February 2008 11:37:41 pm

<i>> I actually found a solution:
> http://ez.ryba.eu/index.php/ez_pu...is_that_possible_round_i_exploration</i>

Glad you find that useful. Just remember - this solution has not been challenged, yet. I'm not sure how safe it is... looking for free time to get it further, but who knows when that comes... ;)

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.