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

Martin Fick mogulguy at yahoo.com
Wed Jul 25 15:51:31 CDT 2007


--- Tegan Dowling <tmdowling at gmail.com> wrote:
> On 7/25/07, DaveG <pmwiki at solidgone.com> wrote:
> > 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?

Or you could adjust your template something like this:

[[#MRU_All]](:template each:)(:if exists
{=$FullName}:)[[{=$FullName}|{=$Groupspaced}-{=$Namespaced}]]
|(:ifend:) \
(:template last:)(:if exists
{=$FullName}:)[[{=$FullName}|{=$Groupspaced}-{=$Namespaced}]](:ifend:)\
  [[#MRU_Allend]]

It should be a lot faster than scanning all the pages.

-Martin



       
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC



More information about the pmwiki-users mailing list