Change the class of the top level (root) node?

Author Message

James Robertson

Wednesday 31 August 2005 2:45:02 pm

How do I change the class of the top level (root) node (ie. from a Folder class to something else)?

http://ez.no/download/changelogs/...sh_3_5/improved_class_removal_checks
referrs to '...The only way to remove this class then is to first to swap the top-level node with another node which uses a different class.'

James Robertson

Wednesday 07 September 2005 7:08:19 pm

I meant the top-level 'Content' node (ie. node ID 2).

The only way I have found to do this is to redefine the Folder class into something else. Then, if you still want a Folder class, to create a new class and define it as per the old Folder class.

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