<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On Sep 22, 2006, at 12:49 PM, James Gotner wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><P dir="LTR"><SPAN lang="en-us"></SPAN><SPAN lang="en-us"><FONT face="Calibri">Not sure if we are supposed to post questions about cookbook recipes here</FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"><FONT face="Calibri">…</FONT></SPAN><SPAN lang="en-us"></SPAN></P><P dir="LTR"><SPAN lang="en-us"><FONT face="Calibri">I am trying to figure out where I need to put (:commentbox</FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"><FONT face="Calibri">:)</FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"><FONT face="Calibri"> [GroupHeader / Group</FONT><FONT face="Calibri">Footer / Somewhere else]</FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"><FONT face="Calibri"> so that</FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"><FONT face="Calibri"> (for an entire site)</FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"><FONT face="Calibri"> the layout would be</FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"><FONT face="Calibri">:</FONT></SPAN></P><P dir="LTR"><SPAN lang="en-us"><FONT face="Calibri">--</FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"><FONT face="Calibri"></FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"> <FONT face="Calibri">All w</FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"><FONT face="Calibri">iki content</FONT></SPAN><SPAN lang="en-us"></SPAN></P><P dir="LTR"><SPAN lang="en-us"><FONT face="Calibri">--</FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"><FONT face="Calibri"></FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"> <FONT face="Calibri">C</FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"><FONT face="Calibri">omment box form</FONT></SPAN><SPAN lang="en-us"></SPAN></P><P dir="LTR"><SPAN lang="en-us"><FONT face="Calibri">--</FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"><FONT face="Calibri"></FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"> <FONT face="Calibri">C</FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"><FONT face="Calibri">omments with newest first.</FONT></SPAN><SPAN lang="en-us"></SPAN></P><P dir="LTR"><SPAN lang="en-us"><FONT face="Calibri"></FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"> <FONT face="Calibri"> Is this possible?</FONT></SPAN><SPAN lang="en-us"></SPAN></P><P dir="LTR"><SPAN lang="en-us"><FONT face="Calibri">--James</FONT></SPAN><SPAN lang="en-us"></SPAN></P></BLOCKQUOTE></DIV>Did your question get lost in the fray? I see that Patrick answered something entirely different to you in the thread. Oops.<BR><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Whenever we're deliberating features for a major new jump ahead, people post rather quickly and many new posts come up. </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Here's your answer:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>You want a page like Site.PageFooter. I'll figure out if it exists :) </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I searched pmwiki.org for "site footer" and this page </DIV><DIV><A href="http://www.pmwiki.org/wiki/PmWiki/SitePages">http://www.pmwiki.org/wiki/PmWiki/SitePages</A></DIV><DIV>comes up. It's not in that list. So I don't think there's a site-wide page like {Group}.GroupFooter</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The skin you use MAY define such a page. It just doesn't seem to be part of the core.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Now, how would you do this: I go into each group and define the group footer. Here's the documentation for this:</DIV><DIV><A href="http://www.pmwiki.org/wiki/PmWiki/GroupHeaders">http://www.pmwiki.org/wiki/PmWiki/GroupHeaders</A></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>NOW I found where the site-wide header/footer is mentioned. So I'm going to point to this in the PmWiki/SitePages. :) Because it ought to be documented somehow.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>You can use the config.php directives as explained:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><P style="margin-top: 0px; margin-right: 0px; margin-bottom: 11px; margin-left: 0px; "><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 14.7px;"><B>How do I set one header for all pages/groups?</B></SPAN></FONT></P><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 29px; line-height: 19px; "><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 14.7px;">The header for each page is controlled by the </SPAN></FONT><A href="http://www.pmwiki.org/wiki/PmWiki/LayoutVariables#GroupHeaderFmt"><FONT class="Apple-style-span" color="#000FED" face="Andale Mono" size="4"><SPAN class="Apple-style-span" style="font-size: 13.2px;">$GroupHeaderFmt</SPAN></FONT></A><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 14.7px;"> variable. Thus a site-wide groupheader can be added with</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Andale Mono" size="4"><SPAN class="Apple-style-span" style="font-size: 13.2px;">$GroupHeaderFmt = '(:include {$SiteGroup}.SiteHeader:)(:nl:)' . $GroupHeaderFmt;</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 29px; line-height: 19px; "><SPAN class="Apple-style-span" style="line-height: 19px;"><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 14.7px; line-height: normal;"><I>(note that single quotes must be used so that </I></SPAN></FONT><FONT class="Apple-style-span" face="Andale Mono" size="4"><SPAN class="Apple-style-span" style="font-size: 13.2px; line-height: normal;">$Group</SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 14.7px; line-height: normal;"><I> (which is part of the default contents of </I></SPAN></FONT></SPAN><A href="http://www.pmwiki.org/wiki/PmWiki/LayoutVariables#GroupHeaderFmt"><FONT class="Apple-style-span" color="#000FED" face="Andale Mono" size="4"><SPAN class="Apple-style-span" style="font-size: 13.2px;">$GroupHeaderFmt</SPAN></FONT></A><SPAN class="Apple-style-span" style="line-height: 19px;"><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 14.7px; line-height: normal;"><I>) will be substituted properly by PmWiki, and that this applies to all variables ending in </I></SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 14.7px; line-height: normal;">$</SPAN></FONT><FONT class="Apple-style-span" face="Andale Mono" size="4"><SPAN class="Apple-style-span" style="font-size: 13.2px; line-height: normal;">...Fmt</SPAN></FONT><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 14.7px; line-height: normal;"><I>)</I></SPAN></FONT></SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 29px; line-height: 19px; "><FONT class="Apple-style-span" face="Arial" size="4"><SPAN class="Apple-style-span" style="font-size: 14.7px;"><I><BR class="khtml-block-placeholder"></I></SPAN></FONT></DIV><DIV>And set a single site-wide footer page at Site.SiteFooter if you want (or any other page to use as the site-wide footer).</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>If you want to eliminate certain groups from this -- such as the Site and PmWiki groups:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>if ($Group != "Site" && $Group != "PmWiki") {</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Andale Mono" size="4"><SPAN class="Apple-style-span" style="font-size: 13.2px;"><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>$GroupFooterFmt = '(:include Site.SiteFooter)(:nl:)' . $GroupFooterFmt;</SPAN></FONT></DIV><DIV>}</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Then make Site.SiteFooter look however you want things to appear UNDER the wikitext.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Questions? I haven't used the (:commentbox:) recipe, so maybe someone has comments about that part.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Also, you might not want this on other groups, such as Main -- but that's up to you :)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Crisses</DIV></BODY></HTML>