[pmwiki-users] noleft in SiteHeader suppresses leftbar except for page-actions (mostly)
5ko at 5ko.fr
Thu Sep 5 14:24:01 CDT 2013
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.
If you want to apply the (:noleft:) directive to all actions on most groups,
use this in local/config.php:
To enable it in specific groups, just use in the local/Group.php file:
Or, you can also use a different skin.
michael paulukonis writes:
> I've implemented the AllGroupHeader recipe, with the option of using the
> GroupHeader if present, or the SiteHeader otherwise.
> I've added a (:noleft:) directive to the SiteHeader, which eliminates the
> leftbar in almost all cases.
> In the few instances where a GroupHeader exists, I have added (:noleft:) to
> the GroupHeader.
> The few cases where the leftbar re-appears are when page-actions are
> performed -- Search (results only), History, Login and Edit.
> Curiously, the leftbar disappears again if "preview" is selected during edit.
> Why is the leftbar re-appearing?
> 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?
More information about the pmwiki-users