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

Jo Rhett jrhett at svcolo.com
Wed May 24 16:49:14 CDT 2006


> 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.

-- 
Jo Rhett
senior geek
SVcolo : Silicon Valley Colocation




More information about the pmwiki-users mailing list