[pmwiki-users] How to get the rev number from the wiki.d pages ?

ABClf languefrancaise at gmail.com
Mon Feb 23 12:20:18 CST 2009


Thank you Rogutès for your help and for your time !
It is working fine now :)

Gilles.



>
> Oh, looks like I've missed a piece of info. $FmtPV contains Page
> Variables, not PTVs.
>
> Try this (tested this time):
>
> function intcmp($x, $y)
> { return (($x == $y) ? 0 : ($x > $y ? 1 : -1)); }
>
> $PageListSortCmp['revcount'] =
>  'intcmp($PCache[$x]["rev"], $PCache[$y]["rev"])';
>
>
> And note that you have to specify order=revcount, not order=$RevCount
> with this.
>
> --
> --  Rogutės Sparnuotos
>



-- 
---------------------------------------
| A | de la langue française
| B | http://www.languefrancaise.net/
| C | languefrancaise at gmail.com
---------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20090223/7a7a6b27/attachment.html 


More information about the pmwiki-users mailing list