[pmwiki-users] Page of sitewide recent changes
Hans
design5 at softflow.co.uk
Tue May 15 05:56:42 CDT 2007
Tuesday, May 15, 2007, 11:02:24 AM, Mildiner, Melvyn wrote:
> The recent changes are listed according to the modification time but the
> oldest is shown first - I want to invert this. Before you rush to
> answer, my pagelist directive is:
> (:pagelist trail=Site.AllRecentChanges
> group=-PmWiki,-Test,-Help,-Main,-Site,-ForTraining fmt=#recentchanges
> order=$LastModified count=50:)
> Things I've tried:
> order=-$LastModified
> order={-$LastModified}
> order=-{$LastModified}
> order=-time
Why do you need order= at all? The trail in Site.AllRecentChanges
already lists the latest changed page at the top.
Also, to exclude page links to non-existing pages, try this template:
(I did not get it right first time emailing you, but the following I
tested!).
[[#recentchanges]]
(:if expr equal {<$Group}:)
(:table class=forum width=100% cellpadding=0px cellspacing=4px :)
(:cell class=messagehead :)%thd%'''Page'''
(:cell class=messagehead :)%thd%'''Last Modified'''
(:cell class=messagehead :)%thd%'''By'''
(:cell class=messagehead :)%thd%'''Summary'''(:if exists {=$FullName} :)
(:cellnr class=messageitem :)[[{=$FullName}|+]]
(:cell class=messageitem :){=$LastModified}
(:cell class=messageitem :){=$LastModifiedBy}
(:cell class=messageitem :){=$ChangeSummary}
(:if equal {>$Group}:){$$PageCount}
(:tableend:)(:if:)
[[#recentchanges]]
~Hans
More information about the pmwiki-users
mailing list