Custom tag with iframe

Author Message

Bartek Modzelewski

Monday 16 February 2009 2:12:31 am

Hello,

Does anyone of you has already tried to create custom tag with iframe html tag? The problem is that ezxmltext datatype is probably removing iframe tag when parsing stored xml data for display, but all other tags from template are included. Is there any way to add iframe to allowed tags? Maybe someone knows a better solution to include external banner into article's body - my client insists on it.

Thanks for any help

Edit: I'm using eZ Publish 4.0.1 and new ezoe extension (TinyMCE editor).

Baobaz
http://www.baobaz.com

Noicokuna Niemoge

Monday 16 February 2009 4:04:54 am

Simply use <literal class="html"></literal> (enable it first in INI settings) and use basic HTML image tag inside... it would be the most simple I think.

Shiki soku ze ku...

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 30 2025 21:42:14
Script start
Timing: Jan 30 2025 21:42:14
Module start 'layout'
Timing: Jan 30 2025 21:42:14
Module start 'content'
Timing: Jan 30 2025 21:42:14
Module end 'content'
Timing: Jan 30 2025 21:42:14
Script end

Main resources:

Total runtime0.8335 sec
Peak memory usage8,192.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.1250151.2109
Module start 'layout' 0.00570.0041 739.3359220.6719
Module start 'content' 0.00980.8227 960.00784,287.0391
Module end 'content' 0.83250.0010 5,247.04697.8750
Script end 0.8335  5,254.9219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.4464160.0002
Check MTime0.00140.1691160.0001
Mysql Total
Database connection0.00080.095210.0008
Mysqli_queries0.756590.7559540.0140
Looping result0.00050.0630520.0000
Template Total0.780993.720.3905
Template load0.00200.242020.0010
Template processing0.778993.446120.3895
Template load and register function0.00140.167110.0014
states
state_id_array0.00090.104010.0009
state_identifier_array0.00110.131720.0005
Override
Cache load0.00150.184690.0002
Sytem overhead
Fetch class attribute can translate value0.00190.233020.0010
Fetch class attribute name0.00180.210920.0009
XML
Image XML parsing0.00020.025120.0001
class_abstraction
Instantiating content class attribute0.00000.000720.0000
General
dbfile0.00190.2317100.0002
String conversion0.00000.000740.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/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: 6
 Number of unique templates used: 4

Time used to render debug report: 0.0002 secs