<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Greetings Gilles,<div class=""><br class=""></div><div class="">I don't know what the (: noleft :) directive is, but let me clarify what you want to do.</div><div class=""><br class=""></div><div class="">Regular visitors to your site do not see the sitebar containing print, edit, recent changes and so on.</div><div class=""><br class=""></div><div class="">Only when a user has the permission to edit for example do you want him to see the sidebar.</div><div class=""><br class=""></div><div class="">I have this working on my site.  If you go to <a href="http://www.nfbnevada.org" class="">http://www.nfbnevada.org</a>, you will only see the content of the site.</div><div class=""><br class=""></div><div class="">If you log in so that you can edit a page, the sidebar will appear.</div><div class=""><br class=""></div><div class="">I did this by adjusting the permissions in the page Site.Sidebar.</div><div class=""><br class=""></div><div class="">First, make sure that you have an admin password set in config.php.</div><div class="">Then make sure authuser is installed and working.</div><div class="">Then set up a group and users so that you don't have to give out the admin password as shown here.</div><div class=""><a href="http://www.pmwiki.org/wiki/PmWiki/AuthUser" class="">http://www.pmwiki.org/wiki/PmWiki/AuthUser</a></div><div class=""><br class=""></div><div class="">Also on that page is the usage for ?action=attr.</div><div class=""><br class=""></div><div class="">By setting the attributes of Site.Sidebar so that they can only be readable by members logged in belonging to a specific group, you can ensure that only your publishers see those actions and only when they are logged in to publish.</div><div class=""><br class=""></div><div class="">This method is a lot of work, but as I plan to use pmwiki as a full CMS with five or ten groups and several access levels, it was worth it for me in the begining to set up authuser and learn to set permissions.</div><div class=""><br class=""></div><div class="">In the end, I still think this might be more secure if not quite as elegant as a simple tag that hides the sidebar on specific pages.</div><div class=""><br class=""></div><div class="">Best,</div><div class=""><br class=""></div><div class="">Erik <br class=""><div><blockquote type="cite" class=""><div class="">On May 2, 2015, at 8:51 PM, ABClf <<a href="mailto:languefrancaise@gmail.com" class="">languefrancaise@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_default" style="font-family:'courier new',monospace">Hello,</div><div class="gmail_default" style="font-family:'courier new',monospace"><br class=""></div><div class="gmail_default" style="font-family:'courier new',monospace">Let's say I want to use a (:noleft:) directive ;</div><div class="gmail_default" style="font-family:'courier new',monospace">that's working correctly and sidebar isn't printed out ;</div><div class="gmail_default" style="font-family:'courier new',monospace">although that's not the same behaviour when I'm editing, watching history, and running others actions. In that case, sidebar is shown.</div><div class="gmail_default" style="font-family:'courier new',monospace"><br class=""></div><div class="gmail_default" style="font-family:'courier new',monospace">Is there any solution you are aware of ?</div><div class="gmail_default" style="font-family:'courier new',monospace"><br class=""></div><div class="gmail_default" style="font-family:'courier new',monospace">Thank you,</div><div class="gmail_default" style="font-family:'courier new',monospace">Gilles.</div><div class="gmail_default" style="font-family:'courier new',monospace"><br class=""></div><div class="gmail_default" style="font-family:'courier new',monospace">(<a href="http://www.pmwiki.org/wiki/Test/NoLeft" class="">http://www.pmwiki.org/wiki/Test/NoLeft</a>)</div><div class="gmail_default" style="font-family:'courier new',monospace"><br class=""></div><div class="gmail_default" style="font-family:'courier new',monospace">note : LocalCSS cookbook is OK : srt a rule for MyPage, then the rule still applies to MyPage?action=edit as well).</div></div>
_______________________________________________<br class="">pmwiki-users mailing list<br class=""><a href="mailto:pmwiki-users@pmichaud.com" class="">pmwiki-users@pmichaud.com</a><br class="">http://www.pmichaud.com/mailman/listinfo/pmwiki-users<br class=""></div></blockquote></div><br class=""></div></body></html>