[pmwiki-users] WikiTrails and pagelists
Patrick R. Michaud
pmichaud at pobox.com
Fri Apr 13 16:57:33 CDT 2007
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.
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.
Pm
More information about the pmwiki-users
mailing list