linkClass with Online Editor not stored

Author Message

Oliver Dzierzon

Tuesday 03 February 2009 5:26:52 am

I am using
eZ Publish version 4.0.1 with the Online Editor 4.3.1.

When insert a link into the text the user should be able to select a css class. Therefore I edited the "content.ini " of "ezdhtml" extension. I added the following settingcode

/extensions/ezdhtml/settings/content.ini.append

[link]
ClassDescription[]
AvailableClasses[]
AvailableClasses[]= Extern
AvailableClasses[]= Intern
AvailableClasses[]= PDFdownload
AvailableClasses[]= Download

So that these four classes are available in the link insert interface. My problem is , that the class information ist not stored when I save the edited article. Going back to the link insert interface, the formerly selected class is not preselected.

André R.

Tuesday 03 February 2009 7:25:56 am

Could you try to remove the whitespace in the class name(between '=' and name )?
The value is trimmed and cleaned by the editor to remove any potential junk from your browser, so whitespace in start/end of name is not supported.

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

Oliver Dzierzon

Tuesday 03 February 2009 1:01:36 pm

Thanks, now it works fine.

ciao Olli

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

Main resources:

Total runtime0.6445 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.0049 588.0078152.6250
Module start 'layout' 0.00490.0036 740.632839.4453
Module start 'content' 0.00850.6345 780.0781534.3047
Module end 'content' 0.64300.0015 1,314.382812.1406
Script end 0.6445  1,326.5234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5112160.0002
Check MTime0.00120.1909160.0001
Mysql Total
Database connection0.00070.110910.0007
Mysqli_queries0.599993.0788570.0105
Looping result0.00050.0785550.0000
Template Total0.615195.420.3076
Template load0.00260.396620.0013
Template processing0.612695.038420.3063
Template load and register function0.00020.034410.0002
states
state_id_array0.00140.212110.0014
state_identifier_array0.00090.142520.0005
Override
Cache load0.00210.3242160.0001
Sytem overhead
Fetch class attribute can translate value0.00050.076320.0002
Fetch class attribute name0.00120.188240.0003
XML
Image XML parsing0.00080.131620.0004
class_abstraction
Instantiating content class attribute0.00000.001240.0000
General
dbfile0.00110.1703170.0001
String conversion0.00000.001440.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
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.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: 7

Time used to render debug report: 0.0001 secs