[pmwiki-users] Recent Pages show list of ONLY latest created pages
ABClf
languefrancaise at gmail.com
Wed Apr 22 07:04:28 CDT 2009
> I don't really care about the individual changes - what interests me
> is the most recent new pages created.
Hi,
I guess this is not the best solution, but you may be interested in listing
pages that have only one revision :
(:pagelist group=Group $RevCount=1 list=normal fmt=#title:)
Here it is the code Petko and Rogutès write for me to extract revision
number :
$FmtPV['$RevCount'] = '$page["rev"]';
# sorting pages by numerical integer pagetextvar data
function intcmp($x, $y)
{ return (($x == $y) ? 0 : ($x > $y ? 1 : -1)); }
$PageListSortCmp['revcount'] =
'intcmp($PCache[$x]["rev"], $PCache[$y]["rev"])';
Gilles.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20090422/075e4ce4/attachment.html
More information about the pmwiki-users
mailing list