[Pmwiki-users] getting the template path?

Thomas -Balu- Walter list+pmwiki-users
Thu Mar 4 08:31:38 CST 2004


Just for completeness:

On Thu, Feb 26, 2004 at 04:14:05PM -0700, Patrick R. Michaud wrote:
> > This has one side-effect... Of course the link will always be displayed
> > wether or not the author has a profile page. Is there a way to make it
> > more like ThomasWalter? if the page does not exist?
> 
> Sure, and I can tell I'm a bit out of it these days because there are 
> a couple of obvious solutions worth trying:
> 
>    echo 'by ',FmtWikiLink('','{{'.$LastModifiedBy.'}}',NULL));

This will not link to the Profile-group. It will also not work if you
specify '{{~'

> or
> 
>    PrintFmt($pagename,'function:PrintText {{'.$LastModifiedBy.'}}');

PrintFmt($pagename,'function:PrintText {{~'.$LastModifiedBy.'}}');

will work great :)

     Balu



More information about the pmwiki-users mailing list