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

Waylan Limberg waylan at gmail.com
Fri Dec 16 13:14:18 CST 2005


On 12/16/05, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>
> Also, it's possible (although perhaps not advisable) for us to put
> several templates on a single page and refer to them by anchor,
> should we have separate pages for each template or place common
> ones on a single page?  One advantage of embedding templates
> in a page with anchors is that we can have the description of the
> pagelist format associated with the template itself.  The
> pagelist command to load them is then:
>

>

What if we have a default template page defined in config.php (which
defaults to Site.ListTemplates or something)? Then if no page is
specified, the default is used. Then we could do:

     (:pagelist template=#titles :)
     (:pagelist template=OtherPage#titles :)
     (:pagelist template=OtherGroup.Page#titles :)
     (:pagelist template=AnotherPage :)
     (:pagelist template=SomeGroup.Page :)
--
----
Waylan Limberg
waylan at gmail.com




More information about the pmwiki-users mailing list