[pmwiki-users] Pagelists and Excluding Non-Existent Pages

Tegan Dowling tmdowling at gmail.com
Wed Jul 25 15:16:38 CDT 2007


On 7/25/07, DaveG <pmwiki at solidgone.com> wrote:
>
> Is there a way to exclude non-existent pages from a pagelist result set?
>
> Specifically, I have a pagelist which shows all recently edited pages.
>
>    (:pagelist trail={$SiteGroup}.AllRecentChanges count=7 list=normal fmt=#MRU_All:)
>
> Using template:
>    [[#MRU_All]](:template each:)[[{=$FullName}|{=$Groupspaced}-{=$Namespaced}]] | \
>    (:template last:)[[{=$FullName}|{=$Groupspaced}-{=$Namespaced}]]\
>    [[#MRU_Allend]]
>
>
> However, if I edit the page in order to delete it, I no longer want to see that page in my list. Is that possible?

Instead of trail=, could you leave out any mention of groups or pages
(that gets you all, right?), and instead just have order=-time?



More information about the pmwiki-users mailing list