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

_______________________________________________
pmwiki-users mailing list
[EMAIL PROTECTED]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to