Forums / Setup & design / Custom tag

Custom tag

Author Message

enigmista enigmista

Thursday 17 July 2003 3:14:22 am

Hi. I need in my article <span lang="en"> tag... I have done this:
1) I have putted in my content.ini: AvailableSiteDesigns=standard;user;admin;demo;mydesign
2) I have putted in my content.ini: AvailableCustomTags[]=inglese
3) I have created inglese.tpl in design/nocable/templates/content/datatype/view/ezxmltags.
4) I have edited inglese.tpl in this way: <span lang="en">{$content}</span>
5) In admin i have created an article: Questo tag è in <custom name='inglese'>english</custom>

But i don't see nothing... this is output:
Questo tag è in

Any ideas? Tnx

enigmista enigmista

Thursday 17 July 2003 4:23:14 am

Ok now it works, but i have:
<p>Questo è un tag</p><p><span lang="en">english</span></p>
But i don't want <p tag...