Forums / Setup & design / Custom Tags

Custom Tags

Author Message

Olivier Hirt

Thursday 06 November 2008 12:20:17 am

Hi,

Config :
- Ezpublish 3
- online editor : 4.2.3

I want use CustomTags. So i insert, in content.ini :
[CustomTagSettings]
AvailableCustomTags[]=mycustomtag

Now with OnlineEditor, i can choose "mycustomtag"
but how I can make for apply this code for "mycustomtag" :
<div class"maclassespeciale">$content</div>
?

Thanks.

Regards.
Olivier

Ivo Lukac

Thursday 06 November 2008 12:50:13 am

Hello Olivier,

place you code in:

{you design dir}/templates/content/datatype/view/ezxmltags/mycustomtag.tpl

and clear override cache

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Olivier Hirt

Thursday 06 November 2008 12:52:38 am

Thanks a lot. It's ok.
This post explains well :
http://ez.no/developer/forum/setup_design/custom_tags_and_color

Regards.
Olivier