Change class of root node

Author Message

david e

Friday 01 April 2005 4:40:18 am

I want to change the class of the root node, in ezp 3.5. It is a folder and I want it to be a "homepage".

I have created my new homepage class and it shows up correctly with his own template. also it is a container class and can have children. I've tried the "change with other node" functionality, but it's not allowed to do it with the root.

How do you change a node's class?

thanks!

http://www.ingent.cat/

Frey Staso

Friday 01 April 2005 8:55:14 am

I believe a part of the chess tutorial will help you greatly.

http://ez.no/ez_publish/documentation/building_an_ez_publish_site/the_welcome_page/setting_the_default_page

check a couple pages previous and next if you need more context. Good luck!

david e

Tuesday 12 April 2005 2:34:11 pm

Frey, the tutorial you provided proved useful to unerstand the meaning of these configuration files ;-)

I guess you can not change a the class of a node, for instance transforming a folder into an article.

thanks,

http://www.ingent.cat/

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 18:38:04
Script start
Timing: Jan 18 2025 18:38:04
Module start 'layout'
Timing: Jan 18 2025 18:38:04
Module start 'content'
Timing: Jan 18 2025 18:38:04
Module end 'content'
Timing: Jan 18 2025 18:38:04
Script end

Main resources:

Total runtime0.6697 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 587.9141152.6250
Module start 'layout' 0.00650.0027 740.539139.4453
Module start 'content' 0.00920.6586 779.9844526.5547
Module end 'content' 0.66780.0018 1,306.53918.3203
Script end 0.6697  1,314.8594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4918160.0002
Check MTime0.00130.1964160.0001
Mysql Total
Database connection0.00080.117210.0008
Mysqli_queries0.614391.7198570.0108
Looping result0.00070.1007550.0000
Template Total0.631394.320.3157
Template load0.00210.318220.0011
Template processing0.629293.946420.3146
Template load and register function0.00020.036010.0002
states
state_id_array0.00100.150710.0010
state_identifier_array0.00070.098420.0003
Override
Cache load0.00170.2586160.0001
Sytem overhead
Fetch class attribute can translate value0.00080.122320.0004
Fetch class attribute name0.00190.280240.0005
XML
Image XML parsing0.00250.374820.0013
class_abstraction
Instantiating content class attribute0.00000.002340.0000
General
dbfile0.00630.9435160.0004
String conversion0.00000.001540.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
3content/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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs