On 2/16/07, Jon Haupt <[EMAIL PROTECTED]> 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

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to