[pmwiki-users] noleft in SiteHeader suppresses leftbar except for page-actions (mostly)

michael paulukonis xraysmalevich at gmail.com
Fri Sep 6 07:49:11 CDT 2013

In this particular case, I'm _not_ using the left-content. It's being
suppressed by a (:noleft:) in the header.
Which is why I'm surprised when left-content appears during edits, etc.

I don't want to remove the left-content from the skin, because it's not a
skin-thing, it's a header thing.
Particularly, the main-content is set to a particular width.
If the left-content is suppressed, the size of the main-content needs to
change (the class changes, in this case).
I'm handling this with a custom no-left markup.

In my current case, I do want to suppress left-conent site-wide, but I have
a use-case where I would want to surpress it on the group-level.

Using SetTmplDisplay() in the skin would not allow left-content display to
be user-configurable, nor allow dynamic changing of main-content width.

-Michael Paulukonis
<http://goog_2112721603>Interference Patterns (a
@XraysMonaLisa <https://twitter.com/XraysMonaLisa>

Sent from somewhere in the Cloud
(hearthrug, by the fender)

On Fri, Sep 6, 2013 at 6:47 AM, Oliver Betz <list_ob at gmx.net> wrote:

> michael paulukonis wrote:
> >If I put SetTmplDisplay('PageLeftFmt', 0) in config or the skin, it ALWAYS
> >surpresses the left-content.
> >
> >I would like it to be suppressed when the (:noleft:) markup is present on
> >the page, or in the header.
> >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.
> >
> >Is there a way to get a Header (Group or Site) enabled for edit, diff,
> >history, login, etc?
> wouldn't it be better to generally suppress the left bar (and maybe
> headers) during edits and other actions?
> What are you using the sidebar for? I guess you don't want to navigate
> away during edits.
> Oliver
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20130906/78d80063/attachment.html>

More information about the pmwiki-users mailing list