[pmwiki-users] clue me in -- remove group name from pagelist?

Patrick R. Michaud pmichaud at pobox.com
Thu May 25 07:37:52 CDT 2006


On Thu, May 25, 2006 at 07:31:35AM -0500, Tegan Dowling wrote:
> On 5/24/06, Jo Rhett <jrhett at svcolo.com> wrote:
> > On Wed, May 24, 2006 at 01:53:19PM -0500, Patrick R. Michaud wrote:
> > > Not at all -- just put the format in a page other than
> > > Site.PageListTemplates.  For example, you can create
> > > Site.LocalTemplates with
> > >
> > >     [[#byname]]
> > >     * [[{=$FullName}|{=$Name}]]
> > >     [[#bynameend]]
> > >
> > > and then in your (:pagelist:) you can do
> > >
> > >     (:pagelist ... fmt=Site.LocalTemplates#byname:)
> >
> > My god this is ugly.  Why not have PageTemplates include a local file?
> > This would survive upgrades cleanly, as long as that was always part of the
> > file.
> 
> You mean take the template to a file outside of the wiki itself?

What if the fmt=#xyz parameter simply searched multiple
template pages (as defined by the administrator)?  
Then we could have "fmt=#xyz" first look for Site.LocalTemplates#xyz,
and if it's not located there it looks at Site.PagelistTemplates#xyz.

Pm




More information about the pmwiki-users mailing list