[pmwiki-users] Pagelist sorting accross groups
Mike Shanley
up at upisup.com
Sat Sep 8 10:50:17 CDT 2007
Pico Ben-Amotz wrote:
> Is there anyway to cause a pagelist to sort across groups using order=
> and a page text variable? I have a PTV (called NextDate) that appears
> on pages in more than one group. I would like to have a pagelist that
> returns all pages sorted by the NextDate. Right now, the pagelist
> returns a list that is sorted by groups before being sorted by dates.
>
The problem is that the fmt= you're using automatically groups the pages
by groups.
The easiest way to get them sorted would be:
(:pagelist $:NextDate=- order=$:NextDate fmt=#simple:)
--
~Mike Shanley~
~you are almost there~
More information about the pmwiki-users
mailing list