Online Editor: Link attributes

Author Message

Rinze Cats

Tuesday 20 April 2004 5:49:48 am

Hiya,

I have implemented the online editor, but the 'insert link' module is missing an option to assign a 'title' attribute to the '<a >' tag.

I looked at the online editors code in order to change this, but it can't seem to make it work. I think what needs to be done is:
1. change the 'insert link' pop to add the new attribute (insertlink.tpl)
2. change the online editor's ezxmltext input handler
3. change the input/output handlers for ezxmltext in the ez publish kernel, so ez publish will recognize the new attribute?

At least, that's what I think, but i can't get it to work. Has anybody done this before or can anybody help me to achieve this?

many thanx in advance
rinze

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 19 2025 08:20:48
Script start
Timing: Jan 19 2025 08:20:48
Module start 'layout'
Timing: Jan 19 2025 08:20:48
Module start 'content'
Timing: Jan 19 2025 08:20:49
Module end 'content'
Timing: Jan 19 2025 08:20:49
Script end

Main resources:

Total runtime1.1895 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.0054 589.1563152.6250
Module start 'layout' 0.00540.0029 741.781339.4453
Module start 'content' 0.00821.1796 781.2266401.5156
Module end 'content' 1.18780.0016 1,182.74228.1641
Script end 1.1894  1,190.9063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2702160.0002
Check MTime0.00130.1135160.0001
Mysql Total
Database connection0.00080.063810.0008
Mysqli_queries1.149396.6207460.0250
Looping result0.00050.0424440.0000
Template Total1.149096.620.5745
Template load0.00260.219920.0013
Template processing1.146496.382220.5732
Template load and register function0.00020.014410.0002
states
state_id_array0.00150.128610.0015
state_identifier_array0.00160.138420.0008
Override
Cache load0.00200.1694120.0002
Sytem overhead
Fetch class attribute can translate value0.00100.081910.0010
Fetch class attribute name0.00140.119510.0014
XML
Image XML parsing0.00010.010310.0001
class_abstraction
Instantiating content class attribute0.00000.000610.0000
General
dbfile0.00200.1649100.0002
String conversion0.00000.000640.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
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs