I'm not quite sure about the override. Perhaps you can try to use a custom made XML tag?
You could use the following code in any XML Text field:
<custom name='link'> http://www.ez.nl </custom> and format it through link.tpl which you would place in design/user/templates/content/datatype/view/ezxmltags. This could be a bit too much work though. Perhaps there's an easier way of overriding like the one you proposed.
Anyway, here's the information you need to get the custom XML tag to work: http://www.ez.no/ez_publish/documentation/customization/components/datatypes/ezxmltext/custom_tags.
Hi Marten,
thanks for your reply. I tried already this and in fact, it could be a solution. But the disadvantage is, that you cannot insert a link, only if you type in the ID or s.th. like that. But that's not comfortable for users :( The solution I found is a workaround without eZ: I analyze the inserted links with a javascript call in the link.tpl.
Another way I tried, was to extend the link object with another target or class. But there was no success.
Best regards, Heiner
You must be logged in to post messages in this topic!