Thanks Tegan - that's very helpful. <br>My pmwiki template file (in the location you mentioned) has<br> <!--PageActionFmt--><br> <div id='wikicmds'><!--wiki:{$Group}.PageActions {$SiteGroup}.PageActions--></div><br>
<!--PageTitleFmt--> etc.<br><br>I guess this means it reads $Group,PageActions if it exists (which it doesn't for $Group = Main) otherwise it reads $SiteGroup.PageActions. I guess $SiteGroup is Site. And now it ''does'' seem to work! (Perhaps I hadn't logged off properly before?) <br>
<br>However, the edit/etc menu is still in the footer, and that does look like it's hard coded. So now I need to understand better where to put the<br> (:if ! auth edit:)(:noaction:)(:ifend:)<br>you mentioned. Which page? and Where on the page?<br>
<br>Thanks again, James<br><br><br><div><span class="gmail_quote">On 26/03/2008, <b class="gmail_sendername">Tegan Dowling</b> <<a href="mailto:tmdowling@gmail.com">tmdowling@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wed, Mar 26, 2008 at 11:21 AM, James Montaldi <<a href="mailto:j.montaldi@gmail.com">j.montaldi@gmail.com</a>> wrote:<br> > At the moment I'm using the default skin. But I might change that. Does it<br> > matter? I thought the skin was just the look and feel.<br>
<br> <br>In the default PmWiki skin template (in pub\skins\pmwiki\pmwiki.tmpl),<br> there's a section that looks like this:<br> <br> <!--PageActionFmt--><br> <div id='wikicmds'><ul><li class='browse'> <a accesskey=''<br>
rel='nofollow' class='selflink'<br> href='<a href="http://www.pmwiki.org/wiki/Main/HomePage'">http://www.pmwiki.org/wiki/Main/HomePage'</a>>View</a><br> </li><li class='edit'> <a accesskey='e' rel='nofollow'<br>
class='wikilink'<br> href='<a href="http://www.pmwiki.org/wiki/Main/HomePage?action=edit'">http://www.pmwiki.org/wiki/Main/HomePage?action=edit'</a>>Edit</a><br> </li><li class='diff'> <a accesskey='h' rel='nofollow'<br>
class='wikilink'<br> href='<a href="http://www.pmwiki.org/wiki/Main/HomePage?action=diff'">http://www.pmwiki.org/wiki/Main/HomePage?action=diff'</a>>History</a><br> </li><li class='upload'> <a accesskey='ak_attach' rel='nofollow'<br>
class='wikilink'<br> href='<a href="http://www.pmwiki.org/wiki/Main/HomePage?action=upload'">http://www.pmwiki.org/wiki/Main/HomePage?action=upload'</a>>Attach</a><br> </li><li class='print'> <a accesskey='' rel='nofollow'<br>
class='wikilink'<br> href='<a href="http://www.pmwiki.org/wiki/Main/HomePage?action=print'">http://www.pmwiki.org/wiki/Main/HomePage?action=print'</a>>Print</a><br> <br> </li></ul><br>
</div><br> <br> This is where the page actions displayed in the upper-right of the<br> default skin come from -- the links are 'hard-coded' into the skin<br> here. There's a nifty, nifty feature that lets you suppress display<br>
of this section, conditionally, from within the wiki (!): That first<br> bit, <!--PageActionFmt--> is in the form of an html comment, but it's<br> also a section identifier used by the pmwiki scripts.<br> <br>
To suppress display of that section unless the user is logged in with<br> edit rights, have this somewhere on your page (or on your<br> GroupHeader):<br> <br> (:if ! auth edit:)(:noaction:)(:ifend:)<br> <br> Some skins have the identified sections that display Site pages,<br>
instead of hard-coding features such as the header, this actions area,<br> etc. -- when that 's the case, you can modify how such section of the<br> page looks and acts by editing the page, as well as by using<br> (:noheader:), (:noaction:), (:noleft:), etc.<br>
</blockquote></div><br>