[pmwiki-users] Pagelist from trail but only existing pages
Patrick R. Michaud
pmichaud at pobox.com
Fri Jan 8 12:49:45 CST 2010
On Fri, Jan 08, 2010 at 07:27:22PM +0100, Oliver Betz wrote:
> I want to provide an "AllRecentChanges" page for "end users", less
> overhead, certain groups excluded, showing only they have access
> rights etc.
>
> My first idea was to use (:if...) with {=$LastModified}, but it seems
> that {=$LastModified} is also set for deleted pages: This pagelist
> template:
>
> * [[{=$FullName} | {=$Group}.{=$Name}]] {=$LastModified}
>
> shows a modification time also for deleted pages. How is this
> possible?
IIRC, non-existent pages default to a "last modified" time of the
current time.
You can use an if= argument to the pagelist directive itself
(:pagelist ... if='exists {=$FullName}' :)
Pm
More information about the pmwiki-users
mailing list