[pmwiki-users] Include auto search section a la pagelists

Petko Yotov 5ko at 5ko.fr
Sun Jan 11 23:39:58 CST 2009


On Monday 12 January 2009 05:32:07 DaveG wrote:
> Petko Yotov wrote:
> > Yes, you can have
> >   (:include {*$Group}.BloggerTemplate Site.LocalBloggerTemplate
> > Site.BloggerTemplate:)
>
> This seems to search for the first page that exists in the list, and
> then search for the section. If it doesn't find the section in the first
> existing file it stops. It doesn't search the next file in the list, it
> simply stops.
> Is there a way around this?

You can include full pages instead of sections, your templates can be one per 
page. A skin or a user could override some of the templates by creating 
pages.

Or, you can use the recipe IncludeSection I drafted:
  http://pmwiki.org/wiki/Cookbook/IncludeSection

Thanks,
Petko



More information about the pmwiki-users mailing list