[pmwiki-users] WikiTrails and pagelists

Martin Fick mogulguy at yahoo.com
Wed Apr 18 11:44:47 CDT 2007


--- "Patrick R. Michaud" <pmichaud at pobox.com> 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]]

...

> 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.

Instead of:

 (:if equal {$FullName} {=$FullName}:)

what about adding the ability to simply force an if
evaluation inside the templating engine before any
markup (the way 'first' and 'last' are evaluated) like
this:

 (:template if equal {$FullName} {=$FullName}:)

Would that potentially provide any speedups?

-Martin


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the pmwiki-users mailing list