<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.3790.2759" name=GENERATOR></HEAD>
<BODY
style="WORD-WRAP: break-word; khtml-nbsp-mode: space; khtml-line-break: after-white-space">
<DIV dir=ltr align=left><SPAN class=283020718-25092006><FONT face=Arial
color=#0000ff size=2>Thanks </FONT><FONT face=Arial><FONT color=#0000ff><FONT
size=2>Crisse<SPAN class=283020718-25092006>s for following up on this...
</SPAN></FONT></FONT></FONT></SPAN><SPAN class=283020718-25092006><FONT
face=Arial color=#0000ff size=2>I wasn't quite sure if it got lost in the fray
or if Patrick was showing me that :commentbox: was going to be implemented into
pmwiki in 2.2 with some changes. The response was kind of on topic, so it
threw me off and I was waiting to see if anyone else picked this
up.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=283020718-25092006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=283020718-25092006><FONT face=Arial
color=#0000ff size=2>Looks like I need to clarify one thing since I didnt know
the correct terminology. When I mentioned having a site-wide layout, I
meant within a group of pages (Main being one site, MyTopic being
another). I wanted to limit this to MyTopic.[All
Content].</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=283020718-25092006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=283020718-25092006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=283020718-25092006><FONT face=Arial
color=#0000ff size=2>Anyhow, when I place it in MyTopic.GroupHeader, it comes
out:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=283020718-25092006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=283020718-25092006><FONT face=Arial
color=#0000ff size=2>-- Commentbox</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=283020718-25092006><FONT face=Arial
color=#0000ff size=2>-- Comment #1</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=283020718-25092006><FONT face=Arial
color=#0000ff size=2>-- Comment #2</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=283020718-25092006><FONT face=Arial
color=#0000ff size=2>-- Wiki Content</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=283020718-25092006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=283020718-25092006><FONT face=Arial
color=#0000ff size=2>But when I put it in
MyTopic.GroupFooter:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=283020718-25092006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=283020718-25092006><FONT face=Arial
color=#0000ff size=2>-- Comment #2</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=283020718-25092006><FONT face=Arial
color=#0000ff size=2>-- Comment #1</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=283020718-25092006><FONT face=Arial
color=#0000ff size=2>-- Wiki Content</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=283020718-25092006><FONT face=Arial
color=#0000ff size=2>-- Commentbox</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=283020718-25092006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=283020718-25092006><FONT face=Arial
color=#0000ff size=2>What I'm looking for (for comparison):</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=283020718-25092006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=283020718-25092006><FONT face=Arial
color=#0000ff size=2>-- Wiki Content</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=283020718-25092006><FONT face=Arial
color=#0000ff size=2>-- Commentbox</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=283020718-25092006><FONT face=Arial
color=#0000ff size=2>-- Comment #2</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=283020718-25092006><FONT face=Arial
color=#0000ff size=2>-- Comment #1</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=283020718-25092006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=283020718-25092006><FONT face=Arial
color=#0000ff size=2>Right now, the only way I can see getting this to work with
my format, is to manually place the comment box and comment box anchor in
each page. Can anyone comment on if this is a bug or was it designed
this way, or if it's even possible to get it to work the way I
want?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=283020718-25092006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=283020718-25092006><FONT face=Arial
color=#0000ff size=2>--James</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Eclectic Tech, LLC Info
[mailto:info@eclectictech.net] <BR><B>Sent:</B> Saturday, September 23, 2006
4:53 AM<BR><B>To:</B> James Gotner<BR><B>Cc:</B>
pmwiki-users@pmichaud.com<BR><B>Subject:</B> Re: [pmwiki-users]
Cookbook:CommentBoxPlus question<BR></FONT><BR></DIV>
<DIV></DIV><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: 0px 0px 11px"><FONT class=Apple-style-span face=Arial
size=4><SPAN class=Apple-style-span style="FONT-SIZE: 14px"><B>How do I set one
header for all pages/groups?</B></SPAN></FONT></P>
<DIV style="MARGIN: 0px 0px 0px 29px; LINE-HEIGHT: 19px"><FONT
class=Apple-style-span face=Arial size=4><SPAN class=Apple-style-span
style="FONT-SIZE: 14px">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 face="Andale Mono" color=#000fed size=4><SPAN
class=Apple-style-span
style="FONT-SIZE: 13px">$GroupHeaderFmt</SPAN></FONT></A><FONT
class=Apple-style-span face=Arial size=4><SPAN class=Apple-style-span
style="FONT-SIZE: 14px"> variable. Thus a site-wide groupheader can be added
with</SPAN></FONT></DIV>
<DIV style="MARGIN: 0px"><FONT class=Apple-style-span face="Andale Mono"
size=4><SPAN class=Apple-style-span style="FONT-SIZE: 13px">$GroupHeaderFmt =
'(:include {$SiteGroup}.SiteHeader:)(:nl:)' .
$GroupHeaderFmt;</SPAN></FONT></DIV>
<DIV style="MARGIN: 0px 0px 0px 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: 14px; 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: 13px; LINE-HEIGHT: normal">$Group</SPAN></FONT><FONT
class=Apple-style-span face=Arial size=4><SPAN class=Apple-style-span
style="FONT-SIZE: 14px; 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 face="Andale Mono" color=#000fed size=4><SPAN
class=Apple-style-span
style="FONT-SIZE: 13px">$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: 14px; 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: 14px; LINE-HEIGHT: normal">$</SPAN></FONT><FONT
class=Apple-style-span face="Andale Mono" size=4><SPAN class=Apple-style-span
style="FONT-SIZE: 13px; LINE-HEIGHT: normal">...Fmt</SPAN></FONT><FONT
class=Apple-style-span face=Arial size=4><SPAN class=Apple-style-span
style="FONT-SIZE: 14px; LINE-HEIGHT: normal"><I>)</I></SPAN></FONT></SPAN></DIV>
<DIV style="MARGIN: 0px 0px 0px 29px; LINE-HEIGHT: 19px"><FONT
class=Apple-style-span face=Arial size=4><SPAN class=Apple-style-span
style="FONT-SIZE: 14px"><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: 0px"><FONT class=Apple-style-span face="Andale Mono"
size=4><SPAN class=Apple-style-span style="FONT-SIZE: 13px"><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>