[pmwiki-users] External links to the same host
Petko Yotov
5ko at free.fr
Mon Feb 19 07:22:35 CST 2007
On Monday 19 February 2007 06:29, Patrick R. Michaud wrote:
> On Mon, Feb 19, 2007 at 04:15:36AM +0100, Petko Yotov wrote:
> > On Monday 19 February 2007 03:17, Kathryn Andersen wrote:
> > > Is there a way to turn off the "external" markup for these kinds of
> > > links?
> >
> > There is another sub-class: links to attached files inside the wiki
> > (currently all tagged as external).
> Essentially, just do
>
> $IMapLinkFmt['Attach:'] =
> "<a class='urllink attachlink' href='\$LinkUrl'>\$LinkText</a>";
>
> and all Attach: links will end up with an 'attachlink' class
> attribute.
Thanks Patrick, now added to http://pmwiki.org/wiki/Cookbook/ExternalLinks
Petko
More information about the pmwiki-users
mailing list