Forums / General / Change the class of the top level (root) node?

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

Author Message

James Robertson

Sunday 07 August 2005 9:36:14 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/ez_publish_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:09:39 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.