[pmwiki-users] pagelist template brainstorming
Kathryn Andersen
kat_lists at katspace.homelinux.org
Sun Feb 18 05:54:42 CST 2007
On Sun, Feb 18, 2007 at 11:52:34AM +0100, Hlad??vka Ji???? wrote:
> When pagetextvariables are now to our disposition we can filter and sort
> on them.
> Then the template should enable such a structure:
> #template
> (:first:) ... start of the pagelist
> (:first {=$:1stgroupingkey}:) ... start of the highest level group
> (:first {=$:1stgroupingkey}{=$:2ndgroupingkey}:) ... ... start of the
> next level group
> ...
> (:each :) ... record level (single page)
> ...
> (:last {=$:2ndgroupingkey}{=$:2ndgroupingkey}:)
> (:last {=$:1stgroupingkey}:)
> (:last:)
> #templateend
Yes, that probably fits better than (:each $var:) because we are really
actually interested in the first time the $var changes...
Kathryn Andersen
--
_--_|\ | Kathryn Andersen <http://www.katspace.com>
/ \ |
\_.--.*/ | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
v |
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha! | -> Earth -> Sol -> Milky Way Galaxy -> Universe
More information about the pmwiki-users
mailing list