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

Tegan Dowling tmdowling at gmail.com
Thu May 25 07:31:35 CDT 2006


On 5/24/06, Jo Rhett <jrhett at svcolo.com> wrote:
> > On Wed, May 24, 2006 at 10:38:17AM -0700, Jo Rhett wrote:
> > > Ugh.  I really hate doing this, because it means merging things with each
> > > and every upgrade.
>
> 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?




More information about the pmwiki-users mailing list