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.

eZ debug

Timing: Jan 18 2025 22:16:01
Script start
Timing: Jan 18 2025 22:16:01
Module start 'layout'
Timing: Jan 18 2025 22:16:01
Module start 'content'
Timing: Jan 18 2025 22:16:02
Module end 'content'
Timing: Jan 18 2025 22:16:02
Script end

Main resources:

Total runtime1.3786 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 589.1641152.6406
Module start 'layout' 0.00690.0046 741.804739.4766
Module start 'content' 0.01151.3657 781.2813457.9453
Module end 'content' 1.37720.0013 1,239.22668.1250
Script end 1.3785  1,247.3516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.2687160.0002
Check MTime0.00140.1042160.0001
Mysql Total
Database connection0.00100.068910.0010
Mysqli_queries1.330496.5037520.0256
Looping result0.00050.0341500.0000
Template Total1.333196.720.6665
Template load0.00230.168620.0012
Template processing1.330896.530520.6654
Template load and register function0.00020.011410.0002
states
state_id_array0.00200.144010.0020
state_identifier_array0.00160.113720.0008
Override
Cache load0.00190.1361110.0002
Sytem overhead
Fetch class attribute can translate value0.00060.042010.0006
Fetch class attribute name0.00110.080530.0004
XML
Image XML parsing0.00160.113210.0016
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00190.1363160.0001
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs