[pmwiki-users] Home Pages in (:pagelist:)s

Martin Fick fick at fgm.com
Fri Dec 16 12:28:57 CST 2005


These are exciting times in pmwiki land.  :)

I can't wait to see the next relase!

-Martin

On Fri, Dec 16, 2005 at 07:26:46AM -0600, Patrick R. Michaud wrote:
> On Fri, Dec 16, 2005 at 04:01:15AM -0700, H. Fox wrote:
> > Another (:pagelist:) consideration for group HomePages:
> > In CMS-type installations it's nice to have the following output on a
> > group HomePage:
> > 
> >     Here are the pages in this section of the site:
> > 
> >     [a sorted list of page titles]
> > 
> > The trouble is, PmWiki has no way (without using a cookbook recipe[1])
> > of producing a plain list of all the pages in the current group,
> > excluding the Home Page.  
> 
> It does now -- we now have page list templates in wiki pages (based
> on Martin Fick's excellent ideas and work in Cookbook.PageListTemplates).
> I'll be enabling it for the entire pmwiki.org site shortly -- right now
> it's currently available only on the Test.FPLTemplates page.
> 
> So now, one simply creates a page ("Simple") with
> 
>     * {=$Name}
> 
> and then references that page from a pagelist
> 
>     (:pagelist group={$Group} template=Simple list=normal:)
> 
> and voila, a nice bulleted list of all of the pages in the group
> displayed by simple name.  Change the page to have {=$Title} if
> titles are desired instead of names.
> 
> The existing FPL functionality using special-purpose subroutines will 
> remain in the core, for display formats that don't easily fit in a 
> page template.  But I'll probably deprecate some of the existing
> functions in favor of the page template.
> 
> Pm
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users




More information about the pmwiki-users mailing list