[pmwiki-users] Page of sitewide recent changes
    Patrick R. Michaud 
    pmichaud at pobox.com
       
    Wed May 16 09:10:57 CDT 2007
    
    
  
On Tue, May 15, 2007 at 11:56:42AM +0100, Hans wrote:
> 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!).
> ...
Starting with 2.2.0-beta45, one can also use the "if=" option
to pagelist to exclude non-existent pages:
  (:pagelist if='exists {=$FullName}' ... :)
This is *much* more efficient than doing the exclusion in
the pagelist template.
Also, Hans' template can be rewritten as:
  [[#recentchanges]]
  (:template first:)
  (: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'''
  (:template each:)
  (:cellnr class=messageitem :)[[{=$FullName}|+]] 
  (:cell class=messageitem :){=$LastModified}
  (:cell class=messageitem :){=$LastModifiedBy} 
  (:cell class=messageitem :){=$ChangeSummary}
  (:template last:)
  {$$PageCount}
  (:tableend:)
  [[#recentchangesend]]
Pm
    
    
More information about the pmwiki-users
mailing list