[pmwiki-users] Home Pages in (:pagelist:)s
Martin Fick
fick at fgm.com
Fri Dec 16 13:48:28 CST 2005
On Fri, Dec 16, 2005 at 01:39:50PM -0600, Patrick R. Michaud wrote:
> On Fri, Dec 16, 2005 at 02:34:31PM -0500, Martin Fick wrote:
> > On Fri, Dec 16, 2005 at 02:14:18PM -0500, Waylan Limberg wrote:
> > > 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:
> >
> > Wow, I always thought it was a little annoying to have
> > many little page templates, never occured to me to put them
> > on the same page!
>
> Really? I thought you had planned it that way in your code, since it
> already does most of what is needed... :-) Try:
Uhmm, ... yeah yeah, that's what I ... meant to do. ;)
> (:pagelist fmt=template page=SomeTemplate#simple:)
>
> and then in SomeTemplate do:
>
> [[#simple]]
> * {{$Curr}$Name}
> [[#simpleend]]
I think that's probably a side affect of me using IncludeText().
-Martin
More information about the pmwiki-users
mailing list