[pmwiki-users] WikiTrails and pagelists
Kathryn Andersen
kat_lists at katspace.homelinux.org
Fri Apr 13 18:58:01 CDT 2007
On Fri, Apr 13, 2007 at 04:57:33PM -0500, Patrick R. Michaud wrote:
> On Fri, Apr 06, 2007 at 10:20:57PM +0200, Roman wrote:
> > I am not sure whether page wikitrail can read dynamically created
> > ordered list. I would define template this way:
> >
> > [[#trailindex]]
> > (:if equal {$FullName} {=$FullName}:)<< [[{<$FullName}|+]] |
> > [[{=$FullName}|+]] | [[{>$FullName}|+]] >>(:if:)
> > [[#trailindexend]]
>
> This is so incredibly useful and obvious (in hindsight) that I think
> it ought to be in the core Site.PageListTemplates.
Oh yes please!
> Then people can do (:pagelist fmt=#trail:) and have a trail built
> from a pagelist.
>
> We could even develop a faster fmt=trail version (no #) that
> avoids the need to process a long list of records just to output
> a single line.
That would be lovely!
I use this kind of code a lot on my wiki, and it would be great if it
were faster.
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