[pmwiki-users] Use PmWiki for Blog and Gallery

Stefan Schimanski sts at 1stein.org
Mon Sep 25 13:38:26 CDT 2006

I have put the following into Blog.GroupFooter:

(:if exists PostComments.{$Group}-{$Name}:)
(:include PostComments.{$Group}-{$BaseName}:)
[[PostComments.{$Group}-{$Name}?action=set#commentbox| $[Add another Comment]]]
(:if ! exists PostComments.{$Group}-{$Name}:)
[[PostComments.{$Group}-{$Name}?action=set#commentbox| $[Add Comment]]]

> You can change the template under Site.BlogListTemplates to have it display the comments directly on the main page.  Simply do
> (:include PostComments.{=$Group}-{=$Name}:) (I think -- or something like that) instead of the link that's currently in the
> template.

Maybe it would make sense to change the commentbox markup to allow some
target group?! So I could always stay in the Blog group, but store the
comment in a comment group (and as above, include the comment then). Am
I right that the comment is added in the same group the commentbox
markup is in?

But let's see how the PmWiki native comments will look like...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : /pipermail/pmwiki-users/attachments/20060925/a331316c/attachment.bin 

More information about the pmwiki-users mailing list