[Pmwiki-users] Re: Calendar function
Albi Rebmann
albi
Fri Aug 6 15:35:31 CDT 2004
> Well, this might be from outside the Calendar. I edited your Main.WikiSandbox to try:
>
> ThisPage:&action=print
>
> This turns into a link that opens a new window. Do you have a local customisation that redefines $UrlLinkFmt (which ThisPage: uses) to add a "target='_blank'" so that a link to an external site opens in a new window?
>
> I suspect the answer is 'yes'.
>
> Fortunately, there is a work-around, which will let you automatically open remote urls in a new window and local urls in the same window. If you really want to do this, let me know and I can send a script.
>
> But first, revert to the standard pmwiki $UrlLinkFmt to confirm that this fixes the problem.
Ah good, I have the same problem. I defined:
$UrlLinkFmt = "<a class='urllink' target='_blank'
href='\$Url'>\$LinkText</a>";
in config.php, which does this automatic for external links great. But
now most links in calendar opens in new window.
Can you send this fix please.
ALBI...
More information about the pmwiki-users
mailing list