Thursday 09 August 2007 3:00:28 pm
I found that the default ezxmltag for links is not compatible with Strict XHTML documents. This is a working solution: Override the "content/datatype/view/ezxmltags/link.tpl with
<a href={$href|ezurl}{section show=$id} id="{$id}"{/section}{section show=$title} title="{$title}"{/section}
{section show=$target}
{if $target|eq( _self )}
{elseif $target|eq( _blank )}
class="external_link"
{/if}
{/section}
{section show=ne($classification|trim,'')}class="{$classification|wash}"{/section}>{$content}</a>
I've used "class="external_link" to style links that are marked with "open in a new window links". If you need "_target" links you could use some DOM scripting that uses the rel="..." tag. Any comments?
eZ Partner in Madrid (Spain)
Web: http://www.atela.net/
|