Sorry to be so dense, but what do you mean by "hack to the tmpl file"?
On Mon, Sep 14, 2015 at 1:09 PM, Hans Bracker <[email protected]> wrote: > > > It's not just ONE page where I need to disable the SideBar, it's > > any page named "EditMessages" regardless of Group. > > pub/css/Name.css will be used for all pages of wiki group called > 'Name', so that would not help you. > Instead try add in config.phpsomething like this: > > $pagename = ResolvePageName($pagename); > $name = PageVar($pagename,'$Name'); > $group = PageVar($pagename,'$Group'); > if ($name=='EditMessages') > $HTMLStylesFmt['skinwidth'] = " > #header, #main { width: 1200px; } /*set your page width*/ > #content { width: 1150px; } /*adjust main div width*/ > #wikitext { width: 1100px } /*adjust wikitext div width*/ > #sidebar { display: none; } > "; > > so you do not need a css file. $HTMLStylesFmt gets put into the HTML > head. You still need the hack to the tmpl file for this to work! > > > cheers, > Hans > >
_______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
