On Mon, Feb 19, 2007 at 07:08:22PM +0000, Hans wrote:
> Monday, February 19, 2007, 3:43:04 PM, Patrick wrote:
>
> > Originally proposed:
> > (:first:)
> > (:each:)
> > (:last:)
> > (:first {=$Group}:)
> > (:last {=$Group}:)
> > (:nopages:) or (:notfound:)
>
> I prefer this over all the other proposals.
>
> (:firstpage:) is confusing because it comes before the first page,
> etc. for (:lastpage:)
(:firstpage:) doesn't _have_ to come before the first page.
(:firstpage:) simply says "output the markup that follows when we're
on the first page in the list". If a (:firstpage:) section
appears in the template after an (:eachpage:) section, then
the markup for firstpage would come after the eachpage markup
(i.e., would appear to come "after the first page").
Again, I don't expect many template designers to make direct
use of this feature, but it will be allowed.
Pm
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users