[pmwiki-users] pagelist sorting

Hans design5 at softflow.co.uk
Mon Mar 5 17:46:06 CST 2007


Monday, March 5, 2007, 1:34:44 PM, Jon wrote:

> In my case, I'm putting in metadata about libraries.  For example,
> Library A has 90 books, Library B has 10,000 books, and Library C has
> 300,000 books.  If I sort by $:Books, I get  BCA, so can I create a
> different kind of sorting that will arrive at ABC?

for the pagelist order= functions, PmWiki allows the creation of custom
order functions. See
http://www.pmwiki.org/wiki/PmWiki/CustomPagelistSortOrder

Maybe a custom function can be created which would process a page
text variable to create a numeric page order.
order=Books  a la method 2.


Hans




More information about the pmwiki-users mailing list