<div dir="ltr"><div><div><div><div><div><div>Hrm.<br></div><br></div>If I put SetTmplDisplay('PageLeftFmt', 0) in config or the skin, it ALWAYS surpresses the left-content.<br><br></div>I would like it to be suppressed when the (:noleft:) markup is present on the page, or in the header.<br>
</div>Now, SiteHeader would suggest it is almost always present, but I want to be able to turn it off by wiki-editing the appropriate content.<br></div><br></div><div>Is there a way to get a Header (Group or Site) enabled for edit, diff, history, login, etc?<br>
<br>That would be what I'm looking for.<br><br></div><div>Or is the only option to have two identical skins, one which does not contain left-content and is used for those actions?<br>That seems like overkill.<br></div>
</div><div class="gmail_extra"><br clear="all"><div>-Michael Paulukonis<br><a href="http://www.xradiograph.com" target="_blank">http://www.xradiograph.com</a><br><a href="http://goog_2112721603" target="_blank"></a><a href="http://www.xradiograph.com%5Cinterference" target="_blank">Interference Patterns (a blog)</a><br>
<a href="https://twitter.com/XraysMonaLisa" target="_blank">@XraysMonaLisa</a><br><a href="http://michaelpaulukonis.com" target="_blank">http://michaelpaulukonis.com</a><br><a href="http://www.BestAndroidResources.com" target="_blank"></a><br>
<br>Sent from somewhere in the Cloud<br>(hearthrug, by the fender)<br></div>
<br><br><div class="gmail_quote">On Thu, Sep 5, 2013 at 3:24 PM, Petko Yotov <span dir="ltr"><<a href="mailto:5ko@5ko.fr" target="_blank">5ko@5ko.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The GroupHeader mecanism (include specific pages before or after the current page) is only enabled for the actions "browse" (view), "print" and "preview" for the current page.<br>
<br>
If you want to apply the (:noleft:) directive to all actions on most groups, use this in local/config.php:<br>
<br>
SetTmplDisplay('PageLeftFmt', 0);<br>
<br>
To enable it in specific groups, just use in the local/Group.php file:<br>
SetTmplDisplay('PageLeftFmt', 1);<br>
<br>
Or, you can also use a different skin.<span class="HOEnZb"><font color="#888888"><br>
<br>
Petko</font></span><div class="im HOEnZb"><br>
<br>
michael paulukonis writes:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I've implemented the AllGroupHeader recipe, with the option of using the GroupHeader if present, or the SiteHeader otherwise.<br>
I've added a (:noleft:) directive to the SiteHeader, which eliminates the leftbar in almost all cases.<br>
In the few instances where a GroupHeader exists, I have added (:noleft:) to the GroupHeader.<br>
<br>
The few cases where the leftbar re-appears are when page-actions are performed -- Search (results only), History, Login and Edit.<br>
Curiously, the leftbar disappears again if "preview" is selected during edit.<br>
<br>
Why is the leftbar re-appearing?<br>
Is it something I've set in my theme that I've forgotten about, some directive I'm missing, some part of core markup that I'm overlooking?<br>
</blockquote>
<br>
<br></div><div class="HOEnZb"><div class="h5">
______________________________<u></u>_________________<br>
pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com" target="_blank">pmwiki-users@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/<u></u>mailman/listinfo/pmwiki-users</a><br>
</div></div></blockquote></div><br></div>