[pmwiki-users] link titles, again
Jon Haupt
jhaupt at gmail.com
Fri Feb 16 11:33:16 CST 2007
On 2/16/07, Jon Haupt <jhaupt at gmail.com> wrote:
> For anyone interested, I just thought of an easy way to use a link
> title for an internal link to a wiki page without using any recipe.
> All you need to do is this:
>
> [[{Group.Name$PageUrl}("Title goes in here")]]
>
> Since $PageUrl is treated as a urllink, it's going to include the
> title attribute. See http://pmwiki.org/Test/LinkTitles for an
> example.
>
> Obviously, it's a hack and it would be better if we implement PITS
> 657, but it's a temporary solution if you just want to add a title to
> a particular internal link.
>
> Jon
>
Er, I guess I have to correct myself. On a default installation, you
still have to set
$UrlLinkFmt = "<a class='urllink' href='\$LinkUrl' rel='nofollow'
title='\$LinkAlt'>\$LinkText</a>";
in config.php for the above to work.
Jon
More information about the pmwiki-users
mailing list