Patrick R. Michaud wrote: > On Wed, Jan 24, 2007 at 08:13:22AM -0600, Patrick R. Michaud wrote:
<snip> > > (:pagelist order=$:Category(Bug,Feature,Documentation) > $:Category=Bug,Feature,Documentation :) I like this syntax, but you're right it may become unweildy as more terms are added. What about pointing to a page of ordered terms? > > So, perhaps it's more appropriate as some sort of marker that > means "order by" in the selection attribute itself, as in: > > (:pagelist $:Category=(Bug,Feature,Documentation) :) Another good option, and one I'd personally find useful. How about taking a similar approach as we have for templates, where we can have a page that defines various formats. In this case it would be lists, or variable values. > > which means to select only those pages where $:Category is > "Bug", "Feature", or "Documentation", and to display them in > that sequence. To sort by name within those groupings, > one would use: > > (:pagelist order=$:Category,name $:Category=(Bug,Feature,Documentation) :) > > Pm > _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
