Posted by jmurp on January 3, 2013 at 2:33pm
Hi
I'm trying to assign target=_blank to an external link in a View but I'm at a loss on how to do it. Not sure if I have to add a snippet of code to one of the template files. Any suggestions? It's probably something simple that I'm overlooking...
Comments
=-=
http://drupal.org/project/extlink may aid
External Links module suggestion
I tried that one before I posted, no change. Even when I added external links extra.
---
How is your view setup? Are you using fields?
RE: Fields question
Yes there are fields for this view, including one for Links (Content:Link).
---
You should be able to rewrite the output of the link, which would look something like this:
<a href="[field_link-url]" target="_blank">[field_link-title]</a>Just take a look at the replacement patterns.