Thickbox javascript and Editor (configure class in editor?)

Author Message

Andreas Kaiser

Thursday 16 November 2006 3:29:46 am

Hi community,

I want to add the thickbox script to a page (http://jquery.com/demo/thickbox/)

When I paste, for example, this code in the Online Editor:

<a href="ajaxOverFlow.htm?keepThis=true&TB_iframe=true&height=300&width=500" title="add a caption to title attribute / or leave blank" class="thickbox">Example 2</a>

I get the error: class: "thickbox" not supported (or similar - I haven't the english language installed)

I think I have to add a specific class to the editor (http://ez.no/doc/extensions/online_editor/4_x/usage/formatted_text/the_class_parameter)

In content.ini add:

[literal]
AvailableClasses[]=html

Would this work? or should I add other code?

Any expirience with adding this script or similar in ez publish.

Thanks!

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

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 31 2025 01:23:15
Script start
Timing: Jan 31 2025 01:23:15
Module start 'layout'
Timing: Jan 31 2025 01:23:15
Module start 'content'
Timing: Jan 31 2025 01:23:15
Module end 'content'
Timing: Jan 31 2025 01:23:15
Script end

Main resources:

Total runtime0.0221 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 589.5234151.2422
Module start 'layout' 0.00500.0031 740.7656220.7500
Module start 'content' 0.00810.0126 961.5156997.8984
Module end 'content' 0.02070.0014 1,959.414129.9922
Script end 0.0221  1,989.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002611.6992140.0002
Check MTime0.00114.8477140.0001
Mysql Total
Database connection0.00083.649210.0008
Mysqli_queries0.00177.793030.0006
Looping result0.00000.039910.0000
Template Total0.00104.510.0010
Template load0.00083.441910.0008
Template processing0.00020.991110.0002
Override
Cache load0.00062.504810.0006
General
dbfile0.00208.835980.0002
String conversion0.00000.023840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs