[EZOE] span into content.ini.apprend.php

Author Message

Jacques Lombrel

Friday 11 March 2011 7:10:15 am

Hi,

I've a problem with my plugins of eZoe.

It add buttons for wrap selected text with <span class="X (depending of button clicked)">TEXT SELECTED</span>

But, when I save article and display in front office, there no span...

I think I need to add AvailableClasses into content.ini, but with [span] it doeasn't work.

Somebody have a idea ?

KR,

André R.

Saturday 12 March 2011 7:28:56 am

Only way to extend eZXMLText is with custom attributes and custom tags. Custum tags can be either inline or block tags, take a look in content.ini in ezpublish and ezoe for examples.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Jacques Lombrel

Tuesday 15 March 2011 4:20:10 am

Thanks for reply André.

So, HTML element span isn't know by EZoe ? We can add [paragraph], [embed], etc... on content.ini, but span is unknow ?

I take a look of CustomTag, but, I can't modify design on editor ? (for exemple <custom name="span" class="blue">TEXTE</custom> can't be BLUE on editor, only on front..). It's bad for customers..

KR,

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

Main resources:

Total runtime0.9886 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.0048 588.0313152.6406
Module start 'layout' 0.00480.0034 740.671939.4844
Module start 'content' 0.00820.9790 780.1563536.4453
Module end 'content' 0.98720.0013 1,316.601612.1250
Script end 0.9885  1,328.7266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3669160.0002
Check MTime0.00140.1392160.0001
Mysql Total
Database connection0.00060.063710.0006
Mysqli_queries0.944195.5021570.0166
Looping result0.00050.0513550.0000
Template Total0.960997.220.4805
Template load0.00200.204320.0010
Template processing0.958996.997920.4795
Template load and register function0.00010.015010.0001
states
state_id_array0.00090.095310.0009
state_identifier_array0.00100.097420.0005
Override
Cache load0.00170.1738190.0001
Sytem overhead
Fetch class attribute can translate value0.00040.039920.0002
Fetch class attribute name0.00190.188340.0005
XML
Image XML parsing0.00070.071420.0004
class_abstraction
Instantiating content class attribute0.00000.001040.0000
General
dbfile0.00080.0770170.0000
String conversion0.00000.000840.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
4content/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
1content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs