Exactly what I was looking for!!! I must have looked right over it because I 
know I scanned the list of cookbook recipes multiple times…

Thanks

> On Apr 07, 2015, at 16:25, ABClf <[email protected]> wrote:
> 
> Hello, 
> 
> According to http://www.pmwiki.org/wiki/Cookbook/ExternalLinks ...
> 
> Open external links in a new window
> 
> The $UrlLinkFmt variable specifies the HTML to be output when an external 
> link is generated by PmWiki. The following line in local/config.php (or a 
> local customization file) adds target='_blank' to the HTML so that each 
> external link is opened in a new window.
> $UrlLinkFmt = "<a class='urllink' href='\$LinkUrl' rel='nofollow'
>   target='_blank'>\$LinkText</a>";
> To disable this behavior for specific links, use %target=_self% in front of 
> the link to cause it to open in the current window.
> Note that target= is no longer allowed for links in XHTML and your website 
> may fail to validate.
> 
> Gilles.
> 
> 
> 
> 2015-04-07 21:46 GMT+02:00 Stephen F Roberts <[email protected]>:
> I am failing my google fu because it seems like this would be something 
> someone else has solved already, but I would like a way to force external 
> links to pop to a new window/tab rather than popping in the same window as my 
> site.
> 
> _______________________________________________
> pmwiki-users mailing list
> [email protected]
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
> 


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to