Tuesday 12 June 2007 6:39:57 am
No, this will force new window on all links. You have to compare the uri ( $href ) first to identify if this is an external link or not. EDIT: to clerify, something like:
{if $target} target="{$target}{elseif and( $href|contains('http://'), not( $href|contains('http://www.yourdomain.com') ) )} target="_blank"{/if}
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom
|