[Pmwiki-users] Re: Main.SideBar
Christian Ridderström
chr
Tue Feb 17 19:08:37 CST 2004
On Tue, 17 Feb 2004, Patrick R. Michaud wrote:
> On Wed, Feb 18, 2004 at 02:44:17AM +0100, Christian Ridderstr?m wrote:
> > Hi
> >
> > I'm not sure I like that there's a Main.SideBar activated by default, and
> > it's not so easy to deactivate since simply deleting it will just make the
> > version in wikilib.d/ show up.
>
> Well, at present the real way to deactivate the sidebar is to do...
>
> $PageLayoutFmt['wikileft'] = '';
>
> ...but I do see your point. One could also change the contents of
> Main.SideBar to be empty, as opposed to deleting the page, and this
> has much the same effect (and still overrides wikilib.d/'s copy).
>
> I don't have a really good answer for this. Either way some folks
> are going to have to do some searching--if it's there by default then
> some will have to search the docs to figure out how to turn it off,
> if it's not there by default then others will have to search the docs
> to figure out how to turn it on.
How about renaming Main.SideBar into PmWiki.SideBarExample? IMO:
* Most pages that come with the distribution should be in PmWiki/
* The page becomes an example
At the top of the page we can write something like:
To create a ''sidebar'' for a group you just create a page
called @@<group>.SideBar@@. You can use this page as an example
of what you can have in your sidebar. [[ThisPage:?action=source
show source of this page]].
Btw, what happens if you create a page called Main.SideBar and do:
[[redirect:PmWiki.SideBarExample]]
/Christian
--
Christian Ridderstr?m http://www.md.kth.se/~chr
More information about the pmwiki-users
mailing list