Literal HTML in 4.2 ezflow

Author Message

Andy Boston

Tuesday 16 March 2010 3:52:24 am

Hi all,

I'm trying to activate literal html in ezflow 4.2

I've activated it in content.ini and it doesn't work

[literal]
AvailableClasses[]
# The class 'html' is disabled by default because it gives editors the
# possibility to insert html and javascript code in XML blocks.
# Don't enable the 'html' class unless you really trust all users who has
# privileges to edit objects containing XML blocks.
AvailableClasses[]=html

I've also added

[literal]
AvailableClasses[]=html

to both the override/content.ini.append.php & the siteaccess/content.ini.append.php

Is this a bug?

Any help would be appreciated. Thanks in advance :)

Andy Boston

Tuesday 16 March 2010 4:36:46 am

It's ok... I found the problem.

Please delete this thread.

Nicolas Pastorino

Tuesday 16 March 2010 7:58:07 am

"

It's ok... I found the problem.

Please delete this thread.

"

Hi Andy,

Good to see you figured it out.
We can not do such things as deleting a thread, but you can mark it as solved by prepending :"[Solved]" to the title.

Cheers !

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

amir koklan

Thursday 07 July 2011 12:02:01 am

Hi Andy , 

 

Can you explain how did u solve your problem ?

 

it was the same way you wrote here or another way ?

Neo Pixel

Friday 22 July 2011 7:53:49 am

You can actually do it via the admin

Setup tab >

select content.ini from the first drop down & your siteaccess (eng) from the second

search for "literal" then edit AvailableClasses

add > =html

click ok and clear the cache.

You should now be able to add html to any xml block using the literal tags and selecting html as the class

:)

Asking stupid questions so you don't have to!

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 00:56:14
Script start
Timing: Jan 18 2025 00:56:14
Module start 'layout'
Timing: Jan 18 2025 00:56:14
Module start 'content'
Timing: Jan 18 2025 00:56:14
Module end 'content'
Timing: Jan 18 2025 00:56:14
Script end

Main resources:

Total runtime0.0180 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 587.9141152.6250
Module start 'layout' 0.00650.0027 740.539139.4453
Module start 'content' 0.00920.0067 779.984493.4297
Module end 'content' 0.01590.0021 873.414138.3047
Script end 0.0180  911.7188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002614.6370140.0002
Check MTime0.00126.5227140.0001
Mysql Total
Database connection0.00147.568310.0014
Mysqli_queries0.002513.855730.0008
Looping result0.00000.071410.0000
Template Total0.00179.610.0017
Template load0.00095.244310.0009
Template processing0.00084.285910.0008
Override
Cache load0.00073.921010.0007
General
dbfile0.002212.426680.0003
String conversion0.00000.044940.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