[pmwiki-users] Creating links that do NOT open new windows
Mailinglists
mailinglists at wso.net
Tue Apr 8 09:19:36 CDT 2008
I'm sorry, it was the $UrlLinkFmt setting in my config.php. I don't remember setting that.
I was able accomplish what I was trying to do by specifically defining:
$EnableLinkPageRelative=1;
$IMapLinkFmt['http:'] = "<a class='urllink' href='\$LinkUrl' rel='nofollow' target='_blank'>\$LinkText</a>";
$IMapLinkFmt['Path:'] = "<a class='urllink' href='\$LinkUrl' rel='nofollow'>\$LinkText</a>";
Thank you.
At 09:13 AM 4/8/2008, you wrote:
>On Mon, Apr 07, 2008 at 11:35:41AM -0400, Mailinglists wrote:
>> I'm having trouble creating links for things like mp3 and pdf files
>> (that reside within my domain) that do not open in a new window.
>> I can't seem to find an example on how to do this. If I use Path:
>> or full URL method, pmWiki inserts both nofollow and the target=_blank.
>
>PmWiki never inserts target=_blank on its own into links, so there
>must be some customization or recipe that is doing it.
>
>Pm
More information about the pmwiki-users
mailing list