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:

 SetTmplDisplay('PageLeftFmt', 0);

To enable it in specific groups, just use in the local/Group.php file:
 SetTmplDisplay('PageLeftFmt', 1);

Or, you can also use a different skin.

Petko

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?


_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to