Online editor templates

Author Message

Carlos Revillo

Thursday 09 April 2009 2:57:57 pm

Hi. Maybe this is already possible, but i don't really know. I wonder if it is posible to use templates with the online editor. I'm thinking in a integration of this plugin http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/template but i don't know how difficult could it be.

My idea is that the user can choose a template for writing the body of an article. This way, an user could add some cite in the middle of two paragraphs, or maybe to the left of to the right. I know this can be achieved with custom tags and without templates, but this way the template could act as a guide to the user.

What do you think?

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

Main resources:

Total runtime0.5413 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.0057 591.0859152.6250
Module start 'layout' 0.00570.0032 743.710939.4453
Module start 'content' 0.00890.5307 783.1563399.7891
Module end 'content' 0.53960.0017 1,182.94538.1719
Script end 0.5413  1,191.1172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.6807160.0002
Check MTime0.00150.2681160.0001
Mysql Total
Database connection0.00070.122510.0007
Mysqli_queries0.502392.7905460.0109
Looping result0.00050.0976440.0000
Template Total0.506393.520.2531
Template load0.00180.335920.0009
Template processing0.504493.185120.2522
Template load and register function0.00020.029410.0002
states
state_id_array0.00130.238510.0013
state_identifier_array0.00190.349920.0009
Override
Cache load0.00150.271260.0002
Sytem overhead
Fetch class attribute can translate value0.00120.227210.0012
Fetch class attribute name0.00210.395710.0021
XML
Image XML parsing0.00010.022310.0001
class_abstraction
Instantiating content class attribute0.00000.001510.0000
General
dbfile0.00070.1363100.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.0001 secs