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

Jo Rhett jrhett at svcolo.com
Thu May 25 14:07:34 CDT 2006


> > 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.
 
On Thu, May 25, 2006 at 07:37:52AM -0500, Patrick R. Michaud wrote:
> 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.
 
Sure.  That could work as well.  Something in config.php that would survive
an upgrade.

-- 
Jo Rhett
senior geek
SVcolo : Silicon Valley Colocation




More information about the pmwiki-users mailing list