[pmwiki-users] Feature request: Action lists in skins

Patrick R. Michaud pmichaud at pobox.com
Tue Apr 5 09:51:28 CDT 2005


On Tue, Apr 05, 2005 at 03:00:28PM +0100, Hans wrote:
> On Mon, Apr 04, 2005 at 01:43:43PM +0200, Joachim Durchholz wrote:
> >So it would be best to have the skin just specify where the action list
> >should go, but not specify the actions themselves.
> 
> I have done this in the design of GeminiTwo and FixFlow skins by
> putting the actions into wiki pages: PageTopMenu and PageFootMenu.
> These get inserted into the skin template via
>   <!--PageTopMenuFmt-->
>     <div id='topnav'><!--wiki:$Group.PageTopMenu Main.PageTopMenu--></div>
>   <!--/PageTopMenuFmt-->
> [...]

Hmmm, this is a pretty good idea.  I can also see how to use this so
that we have only authorized actions appear in the header.  So I'll think 
about this, even though it means adding more pages (and indirection)
to the distribution.  However, I'm not sure I like "PageTopMenu" 
and "PageFootMenu" -- seems like we might want to call them something 
else.

Pm



More information about the pmwiki-users mailing list