Peter Bowers highlighted to me that I had missed the 'default' keyword.
Then in fact the result works very close to what I wanted.
As I don't believe the documentation gives a string enough indication that
values other than page names can be used so I'll update it,
perhaps after I get some more feedback

Simon

On 27 February 2010 22:33, Simon <[email protected]> wrote:

> Thanks to Petko for the recent pagelist changes.
>
>
> I have been thinking about a possible change that would provide what could
> be additional very useful functionality,
> and that is to allow
>
>    - use of page text variables in first and last
>    - use of page variables in first and last
>
> See http://pmwiki.org/wiki/Test/PagelistSortVariable for example
> This would be a natural extension of their use as parameters to a pagelist
>
> To allow in first and last
>
>    - conditional expressions <http://PmWiki/ConditionalMarkup>
>
> for example being able to test additional page 
> variables<http://www.pmwiki.org/wiki/PmWiki/PageListTemplates#additionalpagevariables>
>  would
> provide a number of additional capabilities,
> perhaps even a new directive
> (:template condition <expression> :)
>
> thoughts
>
> Simon
>
>
>


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

Reply via email to