<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><DIV>On Oct 2, 2006, at 9:12 AM, Kathryn Andersen wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS">If you wanted to set it up so that every page in a group had a</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS">corresponding comments page, and you didn't want to have to set the</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS">permissions by hand for each page -- can one set permissions with</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS">wildcards?<SPAN class="Apple-converted-space"> </SPAN>Otherwise, one could make a "comments" group matching that</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS">group, and take advantage of group-wide configuration, like so:</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS">- put a commentbox in MyGroup.GroupFooter (or MyGroup.GroupHeader,</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS"><SPAN class="Apple-converted-space"> </SPAN>depending on which you prefer) where the comments are directed to</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS"><SPAN class="Apple-converted-space"> </SPAN>MyGroup-Comments.{*$Name}</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS">- set the permissions in local/MyGroup-Coments.php so that nobody has</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS"><SPAN class="Apple-converted-space"> </SPAN>edit permission, only insert permission, for all pages in that group.</FONT></P> </BLOCKQUOTE></DIV><BR><DIV>You can then either put a link in the GroupFooter to the MyGroup-Comments.{*$Name} page OR</DIV><DIV>you can do (:include MyGroup-Comments.{*$Name}:) in the group footer so that the comments for a particular page always are at the bottom of the pages in the group, but can't be edited.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>You can password protect GroupHeader & GroupFooter, so that this can't be tampered with.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Is there a way to do a header/footer for a specific page rather than a whole group?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I suppose you can do a conditional in the GroupHeader/GroupFooter:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>(:if name MyPage:)</DIV><DIV>(:commentbox ... :)</DIV><DIV>(:include ...:)</DIV><DIV>(:ifend:)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>So that it only works on the page(s) you want it to, but you still can password protect the feature so noone can change the form or remove the include.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I trust my legitimate authors not to muck around -- and they have proven themselves worthy of that trust for 4+ years (how long have I been using PmWiki? I can't remember :( ). The only people I distrust are the spammers.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Crisses</DIV></BODY></HTML>