In article 
<[email protected]>,
 Peter Bowers <[email protected]> wrote:

> On Sat, May 2, 2009 at 7:42 PM, Olaf Marzocchi
> <[email protected]> wrote:
> > Thanks, it works! But now let's speculate... is your solution faster,
> > and/or stylistically better than the
> >
> > [[#titlesummaryen]]
> > (:template each:)
> > [[{=$FullName} | {=$:titleen}]]
> > -> {=$:descriptionen} ({=$LastModified})
> >
> > I had found previously working?
> > I would say it is perfectly equivalent, since both should find
> > everything in the pageindex cache.
> > Am I correct?
> 
> Yep, from a purely functional standpoint yours is probably faster.
> >From an elegance perspective it's good to avoid duplicate code (for
> lots of good reasons) and that's what I was aiming for.  But in this
> case it's probably 6 of 1 and half-dozen of the other.

Anyway, I'm happy with the current solution, no more manual editing of 
the index pages...
I will have now to find a way to hide the empty entries generated by the 
pages read-protected by a password: should I use something like an "if" 
in the localtemplate or is there a command to automatically exclude such 
pages (meant to be invisible or almost invisible) from the pagelists? 
the website shows a "passwd=" command, but I need the opposite of it.

Bye,
Olaf


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

Reply via email to