[Pmwiki-users] Links in template pages

Thomas -Balu- Walter list+pmwiki-users
Tue Sep 7 07:10:14 CDT 2004


On Tue, Sep 07, 2004 at 06:59:27AM -0600, Patrick R. Michaud wrote:
> > I'm trying to add a link in the template to display 'Discussion' page,
> > where users can discuss any Wiki page (except discussion pages). So, I
> > used <!--function:DiscussLink--> inside the template, and in function
> > wrote something like
> >   print FmtWikiLink(NULL, 'Discussion', 'Discuss');
> > [...]
> > So, the question is: is there a way to do Wiki links from the script
> > look correctly? How should the DiscussLink function be implemented?
> 
> How about putting the following in your template (in place of the
> <!--function:...--> you wrote above):
> 
>    <a href='$PageUrl-Discussion'>Discuss</a>

Wouldn't this allow the creation of
WikiPage-Discussion-Discussion-Discussion-...?

      Ba-back-lu



More information about the pmwiki-users mailing list