Add a field "tiny mce" in a class

Author Message

Fabien Audin

Thursday 01 April 2010 2:42:47 am

Hi all,

I have a class "forum" to create forums on my website.For the forum's description I want to show a tiny mce editor. I started by creating a new datatype called "tiny MCE" so now I have "tiny MCE" in my fields list. Good!

When I add a tiny MCE field in a class and create an instance of this class, I can see my editor.

But I don't really understand how to write the templates "edit" and "view" to write the right "name" attribute for my textarea tag.

Do you understand my problem? And do you have any idea about the templates' structures?

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

Main resources:

Total runtime0.6000 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 589.3438152.6250
Module start 'layout' 0.00510.0021 741.968839.4453
Module start 'content' 0.00720.5913 781.4141399.0391
Module end 'content' 0.59840.0015 1,180.45318.1563
Script end 0.5999  1,188.6094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.4918160.0002
Check MTime0.00120.1996160.0001
Mysql Total
Database connection0.00080.133410.0008
Mysqli_queries0.565894.3013460.0123
Looping result0.00040.0648440.0000
Template Total0.574595.820.2873
Template load0.00220.368020.0011
Template processing0.572395.388720.2861
Template load and register function0.00010.023410.0001
states
state_id_array0.00060.099310.0006
state_identifier_array0.00100.164120.0005
Override
Cache load0.00170.287680.0002
Sytem overhead
Fetch class attribute can translate value0.00070.116710.0007
Fetch class attribute name0.00060.108310.0006
XML
Image XML parsing0.00010.017410.0001
class_abstraction
Instantiating content class attribute0.00000.000510.0000
General
dbfile0.00060.1042100.0001
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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0002 secs