[pmwiki-users] discussion pages?
Jon Haupt
jhaupt at gmail.com
Tue Jun 21 11:18:03 CDT 2005
It would be good too to be able to create something similar for
comments-group use - so that in the comments group, the link is a backlink
instead of a self-link.
e.g. in most of the wiki you'd want
[[Comments.{$Group}-{$Name | Comments]]
but in the Comments group you'd prefer something that extracted
[[{$Group}.{$Name}]] somehow from the page title (presumably by changing -
to .)
Jon
On 6/21/05, Neil Herber <nospam at eton.ca> wrote:
>
> At 2005-06-20 03:50 PM -0500, Jon Haupt is rumored to have said:
> >You could even create a button that automatically creates a link to a
> >talk/comments page by using something like this and put it in a menu:
> >
> >[[{$Name}-comments | Comments]]
>
> What I would like to do is put this markup into the page footer or header.
> But that then leads to the comments pages having comments links like
> Page-comments-comments.
>
> Is there any PmWiki markup that can do string manipulation on page names?
>
> In particular, I would like to be able to say something like:
>
> (:if {$Name} does not end with "-comments":) insert comment link
> (:endif:)
>
> And going one step further, make automatic backlinks:
>
> (:if {$Name} does not end with "-comments":)
> insert comment link
> (:else:)
> insert link to {$Name} minus last 9 characters
> (:endif:)
>
> To get this to work smoothly will probably require including group names,
> but I can solve that later.
>
>
> Neil
>
> Neil Herber
> Corporate info at http://www.eton.ca/
> Eton Systems, 15 Pinepoint Drive, Nepean, ON, Canada K2H 6B1
> Tel: (613) 829-4668
>
>
--
Jon Haupt
Fine & Performing Arts Librarian
Iowa State University
152 Parks Library
Ames, IA 50011
515-294-0904
jhaupt at iastate.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20050621/1a7ba34c/attachment.html
More information about the pmwiki-users
mailing list