Share » Forums » General » adding HTML directly into the online...

adding HTML directly into the online editor?

adding HTML directly into the online editor?

Friday 18 September 2009 7:05:32 am - 4 replies

Author Message

Jaime Smith

Friday 18 September 2009 7:26:25 am

You need to click the "disable editor" button directly below the edit area. That will convert all OE areas on the page to plain textareas where you'll be able to insert your HTML. Remember that not all HTML elements work in ezPublish, so you may get some garbling when it's converted into ezPublish XML when you submit.

Jaime Smith
Senior Developer
Certified ezPublish Developer
http://www.duoconsulting.com > Duo Consulting, Chicago, IL, USA

John Bett

Friday 18 September 2009 7:45:24 am

Wow!! Nothing I tried to included worked. lt seems lots of tags can't be used. Even simple tags like DIVs or DL.

How can I expand the list of allowed tags?

Peter Keung

Friday 18 September 2009 8:59:32 am

in 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

then, enter

<literal class="html">

all your stuff ...

</literal>

(or use the "Literal" button when the editor is enabled)

http://www.mugo.ca
Mugo Web, eZ Partner in Vancouver, Canada

John Bett

Friday 18 September 2009 9:43:22 am

Thank you Peter this worked out great.

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

36 542 Users on board!

Forums menu