Monday 06 November 2006 9:38:21 am
Hi! You can always override the default link attribute template from ('design/standard/templates/content/datatype/view/ezurl.tpl') and add an extra parameter like this: {default $target="_self"}
{section show=$attribute.data_text}
<a href="{$attribute.content}" target={$target}>{$attribute.data_text|wash( xhtml )}</a>
{section-else}
<a href="{$attribute.content}" target={$target}>{$attribute.content|wash( xhtml )}</a> {/section} {/default} Then when u call the attribute and want it to open in new window do it like this: {attribute_view_gui attribute=$node.data_map.location target="_blank"} or {attribute_view_gui attribute=$node.data_map.location} to open in same window. Cheers.
Microblau SL
http://www.microblau.net
|