<div dir="ltr"><div class="gmail_default" style="font-family:'courier new',monospace">I just read <a href="http://www.pmwiki.org/wiki/Cookbook/LayoutEditModified">http://www.pmwiki.org/wiki/Cookbook/LayoutEditModified</a> which is of help :</div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace"><div class="gmail_default">global $action;</div><div class="gmail_default">  if ($action=='edit') { SetTmplDisplay('PageHeaderFmt', 0);</div><div class="gmail_default"><span class="" style="white-space:pre">                     </span> SetTmplDisplay('PageFooterFmt', 0);</div><div class="gmail_default"><span class="" style="white-space:pre">                       </span> SetTmplDisplay('PageTitleFmt', 0);</div><div class="gmail_default"><span class="" style="white-space:pre">                        </span> SetTmplDisplay('PageLeftFmt', 0); </div><div class="gmail_default"><span class="" style="white-space:pre">       </span>};</div></div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace">May I suggest the edit page to inherit the original directives ?</div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace">Gilles.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-05-04 1:24 GMT+02:00 ABClf <span dir="ltr"><<a href="mailto:languefrancaise@gmail.com" target="_blank">languefrancaise@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:'courier new',monospace">Erik, (:noleft:) is a skin directive which permits to finely adapt some parts of your template according to your special needs (usual usage is show or dont show sidebar, actions list, footer, search form, title – up to you to define other parts –, on a set of pages, if conditional rules allowed : read <a href="http://www.pmwiki.org/wiki/PmWiki/SkinTemplates" target="_blank">http://www.pmwiki.org/wiki/PmWiki/SkinTemplates</a> for more). It is not a security related tool like what you are setting up for running a cms like website (show or not something according to authrorization level). By the way, on the site I'm playing with currently, I'm not using authuser yet.</div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace">Indeed Randy, playing with another CSS would probably work ; at a cost because this alternative is not as convenient nor flexible as a directive.</div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace">No matter what, thank you for your friendly advices :)</div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace">To me, the question remains : why does an edit action page still show pageleft when there is a (:noleft:) directive ?</div><div class="gmail_default" style="font-family:'courier new',monospace">Please note, in config.php, these two lines don't work the same way :<br></div><div class="gmail_default" style="font-family:'courier new',monospace"><div class="gmail_default"><br></div><div class="gmail_default">#code1</div><div class="gmail_default">SetTmplDisplay('PageLeftFmt', 0); #this code removes left content from everywhere, ?action=edit included</div><div class="gmail_default"><br></div><div class="gmail_default">#code2</div><div class="gmail_default">Markup('noleft', 'directives', '/\\(:noleft:\\)/e', "SetTmplDisplay('PageLeftFmt', 0)"); #this code removes left content from viewed page, but doesnt remove left content for ?action=edit page.</div><div class="gmail_default"><br></div><div class="gmail_default">So, it appears that something is happening with the way skin directives are used in the action pages. I dont know if that is the expected behaviour.</div><div class="gmail_default"><br></div><div class="gmail_default">Gilles.</div></div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2015-05-03 19:24 GMT+02:00 Randy Brown <span dir="ltr"><<a href="mailto:randy@brownragfilms.com" target="_blank">randy@brownragfilms.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If you can’t find a better solution, you can always specify a skin template file that omits one, then select the skin through the configuration file. This would let you use whatever logic you want when choosing whether to include the sidebar.<br>
<br>
Hope that helps,<br>
<br>
Randy</blockquote></div><br></div>
</div></div></blockquote></div><br></div>