[pmwiki-users] Menu-option questions..

Ben marsepein at gmail.com
Sun Aug 13 16:48:54 CDT 2006


On 7/10/06, Marc Cooper <gmane at auxbuss.com> wrote:
> > I'd like to know if (and how) it is possible to create a pmwiki site
> > in place of this site's usage of menu entries:
> >
> > http://www.de-bezieling.nl/
> >
> > It basically has a new left-submenu for each option at the top,
> > and each submenu entry loads a different page.

> Off the top of my head, I'd do something like this: create a group for
> each top-menu item - if that makes sense to you - then create a group
> sidebar entry for each group. Then either change your template to always
> use the group template, or remove the group sidebar option and embed the
> group sidebar in the site sidebar. e.g. In skin .tmpl
>
>   <div id='sidebar'>
>     <!--wiki:$SiteGroup.SideBar-->
>   <div>

Did you mean in /pub/skins/pmwiki/pmwiki.tmpl (as a default) ?
And if so, where in that file do I put that <div> entry?

> then in site.sidebar
>
>   (:if !group site :)
>   (:include {$Group}.sidebar:) (:if:)

Same here, where in site.sidebar does this go?

> In addition, you also have the option of hard-coding the group sidebar
> links in group.sidebar (i.e. [[Group.PageOne]]),

How do I do that?
I now have created all groupnames and their entries, 'difficult'
things I need to accomplish:

- A top bar (like in the original site) with links to the different groups.
- Sidebars per group, each belonging to a group, with the links per group.
- Create cgi-mailform-pages within the wiki (almost each group needs one)
- Make it so that the 'Edit' and 'History' stuff is all hidden for
public visitors.
- Change the colors, layout, fonts etc.

> or using pagelist via something like
>
>   %sidehead% [[Marc]]
>   (:pagelist link=Category.MarcHeadings fmt=#title order=title:)
>
> then adding the category link to appropriate pages - you can hide the
> link in the page.

Which option loads the sidebar fastest for the visitors ?

Thanks for your help

Ben




More information about the pmwiki-users mailing list