Can a content type be changed?

Author Message

Bill Sticky

Tuesday 18 August 2009 10:23:37 am

Hello

Can a content type be changed after it's been added to the content structure?

I have a frontpage content type, and I'd like to change it to a folder type.
Can this be done or do I need to remove the one type and create a new node of the new type?

Ekkehard Dörre

Tuesday 18 August 2009 11:57:55 am

Hi Bill,

look here
http://ez.no/doc/ez_publish/user_manual/4_0/daily_tasks/swapping_nodes

Greetings ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Bill Sticky

Tuesday 18 August 2009 12:16:42 pm

Hi Ekke

I followed the suggested steps in the docs. It did swap the location in the content tree, but did not swap the content type. Maybe this won't work when going from a frontpage to a folder.

Thank you for your help

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

Main resources:

Total runtime0.6421 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.0047 589.3594152.6250
Module start 'layout' 0.00470.0032 741.984439.4453
Module start 'content' 0.00790.6328 781.4297532.8125
Module end 'content' 0.64070.0013 1,314.24228.1641
Script end 0.6421  1,322.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5127160.0002
Check MTime0.00150.2263160.0001
Mysql Total
Database connection0.00070.105910.0007
Mysqli_queries0.596292.8540570.0105
Looping result0.00060.0871550.0000
Template Total0.609895.020.3049
Template load0.00290.444220.0014
Template processing0.606994.514220.3034
Template load and register function0.00020.029910.0002
states
state_id_array0.00080.123310.0008
state_identifier_array0.00100.153420.0005
Override
Cache load0.00230.3647170.0001
Sytem overhead
Fetch class attribute can translate value0.00060.099120.0003
Fetch class attribute name0.00100.162040.0003
XML
Image XML parsing0.00060.091420.0003
class_abstraction
Instantiating content class attribute0.00000.001740.0000
General
dbfile0.00080.1252160.0001
String conversion0.00000.001740.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
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs