2012-04-20, 01:29:15
mvlcek Wrote:I thought I'd give this a try and use the following for the anchor:andyash Wrote:I am using custom_fields to create external links in the menu. Is there a way to specify that these links should open in New Window instead of the same page?
You might be able to achive this with I18N Navigation custom rendering.
Code:
<a href="<?php echo htmlspecialchars($item->link); ?>" target="_<?php if($item->link!=='') { echo 'blank'; } else {echo 'self'; } ?>">