Thursday 16 June 2005 8:33:35 am
Hello, I'm creating a custom tag called 'extimg', to allow remote images insertion. File design/plain/templates/content/datatype/view/ezxmltags/extimg.tpl contains : <img src="{$content}" />
I've added in settings/siteaccess/plain/content.ini.append.php :
[CustomTagSettings]
AvailableCustomTags[]=extimg IsInline[extimg]=true This tag works correctly with : <custom name='extimg'>http://www.../myimage.gif</custom>
But with a link, I get following result :
XML code: <link href='blabla'><custom name='extimg'>http://www.../myimage.gif</custom></link>
HTML Result: <b><a href="/plain/blabla>http://www.../myimage.gif</a>" /></b> And image is not displayed. Any idea ? Thanks.
|