[Pmwiki-users] Discussion: Turning template parts ON | OFF

Steven Leite steven_leite
Tue Apr 27 10:23:58 CDT 2004


I remember there was a bit of discussion a while back about how to turn sidebars off.  And then some more discussion on adding a LeftSideBar and RightSideBar.  Can anyone re-cap?  I'd like to try it out and see if I can use it on my site.  I'm not sure if that's documented or not.

Then .. why stop there? Wouldn't it be nice to let admin's to define their own page sections/parts?

One admin might want to define

<!--LeftSideBar-->
some stuff
<!--/LeftSideBar-->

or

<!--TopNavBar-->
some stuff
<!--/TopNavBar-->

or even ..

<!--BannerAd-->
[[include:WikiGroup/PageThatDisplaysRandomImage]]
<!--/BannerAd-->

Then there would be some kind of all-inclusive directive like:

[[hide:BannerAd]]
[[hide:TopNavBar]]
[[hide:LeftSideBar]]

You could extend this [[hide:]] directive to include other existing directives, like [[noheader]], [[nofooter]], [[nogroupheader]] etc, like this:

[[hide:header]], [[hide:groupheader]], [[hidefooter]], etc.

I think it simplifies things, but at the same time widen's the playing field. 

Cheers

-S

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://contra.vosn.net/pipermail/pmwiki-users_pmichaud.com/attachments/20040427/e5f30a8b/attachment.htm


More information about the pmwiki-users mailing list