Forums / Setup & design / Literal HTML in 4.2 ezflow

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!