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://www.xradiograph.com <http://goog_2112721603>Interference Patterns (a blog)<http://www.xradiograph.com%5Cinterference> @XraysMonaLisa <https://twitter.com/XraysMonaLisa> http://michaelpaulukonis.com <http://www.BestAndroidResources.com> Sent from somewhere in the Cloud (hearthrug, by the fender) On Fri, Sep 6, 2013 at 6:47 AM, Oliver Betz <[email protected]> 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 > [email protected] > http://www.pmichaud.com/mailman/listinfo/pmwiki-users >
_______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
