Share » Forums » General » Html code in articles

Html code in articles

Html code in articles

Tuesday 20 February 2007 3:27:11 am - 2 replies

Author Message

André R.

Tuesday 20 February 2007 3:39:06 am

You can either enable <literal class="html"> or develop your own custom tags.

From content.ini:

[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
CustomAttributes[]

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Betsy Gamrat

Saturday 24 February 2007 8:19:09 am

Another approach is to use

{$node.data_map.attribute.content}

in the template.

which should just output the raw content of the attribute (I'm assuming it is a text block).

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu