[Pmwiki-users] Re: Main.SideBar

Patrick R. Michaud pmichaud
Tue Feb 17 19:35:28 CST 2004


On Wed, Feb 18, 2004 at 03:08:27AM +0100, Christian Ridderstr?m wrote:
> 
> How about renaming Main.SideBar into PmWiki.SideBarExample? IMO:
> 
> * Most pages that come with the distribution should be in PmWiki/

Most pages that come with the distribution *are* in PmWiki/ .
I believe the current ratio is 72 to 5.  :-) :-)

The real question is:  when someone first installs PmWiki, what page
should they be taken to first?  PmWiki.PmWiki is a bad choice, because
the new admin will start creating pages from that page and their
initial pages will all end up in the PmWiki group, necessitating a
cleanup later.  

> 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]].

At the top of *which* page?  PmWiki.SideBarExample?  When does that
page get loaded?  Surely PmWiki shouldn't be configured by default to
display PmWiki.SideBarExample in the left bar, thus *requiring* someone
to modify $PageLayoutFmt[] in config.php to get rid of it!

> Btw, what happens if you create a page called Main.SideBar and do:
> 
> 	[[redirect:PmWiki.SideBarExample]]

You see the text of Main.SideBar without the redirect.  
Redirects, includes, [[noheader]], [[notitle]], and other BrowseDirectives 
only work in the main browsed page.

Pm



More information about the pmwiki-users mailing list