Clemens, I just have my authors put %newwin% in front of all external links:
%newwin%[[http://somewebsite.com|click here]] That causes the link to open in a new window. - Henrik Patrick R. Michaud wrote:
On Wed, Mar 26, 2008 at 04:12:46PM +0100, Clemens Gruber wrote:In farmconfig a default blank target is defined # open external links in new window $UrlLinkFmt = "<a class='external' href='\$LinkUrl' rel='nofollow' target='_blank'>\$LinkText</a>"; Now I like to switch the target on some links, but this doesn't work: %target=_self% [[http://www.engadget.com]]. There is still a "wrong" target specification in the html output: <a class="external" href="http://www.engadget.com" rel="nofollow" target="_blank">http://www.engadget.com</a> What can I do?Not a whole lot, unfortunately. Wikistyles aren't smart enough to replace an existing target= value (coming from $UrlLinkFmt) with a custom one. Pm _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
-- Henrik Bechmann www.bechmann.ca Webmaster, www.dufferinpark.ca
_______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
