Changind attribute datatype to XML text to plain text

Author Message

Alejandro Serrano

Monday 06 November 2006 11:39:33 am

Hi,
I have been using the XML text/block datatypes in my classes, but now I need to move to plain text blocks, because of needs of formatting. However, in a test site I've created, removing the attribute and adding another one with the same name removes every single attribute in every object.
Is there any way I could make the transition?

Mark Marsiglio

Monday 06 November 2006 12:26:49 pm

Try this.
http://ez.no/community/contribs/datatypes/datatypes

There is not any straightforward way to do it. Depending on how many objects, you could leave both attributes in place, and copy and paste from one to the other, but this requires editing each object.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

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

Main resources:

Total runtime0.0215 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0043 588.2734151.2266
Module start 'layout' 0.00430.0024 739.500036.6797
Module start 'content' 0.00670.0133 776.179790.1563
Module end 'content' 0.01990.0015 866.335929.9922
Script end 0.0215  896.3281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002310.8359140.0002
Check MTime0.00114.9600140.0001
Mysql Total
Database connection0.00052.124610.0005
Mysqli_queries0.002511.757330.0008
Looping result0.00000.052110.0000
Template Total0.00104.910.0010
Template load0.00094.046310.0009
Template processing0.00020.813910.0002
Override
Cache load0.00062.693410.0006
General
dbfile0.00031.298580.0000
String conversion0.00000.028840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs