[pmwiki-users] Pagelist again
pmwiki at solidgone.com
Wed Sep 23 16:21:39 CDT 2009
pmwiki at 911networks.com wrote:
> This time I'm trying to make a pagelist sorted as most recent first,
> but does NOT contain specific wording in name:
> I want all the pages without "-Draft".
> My existing pagelist was:
> (:pagelist fmt=#news order=-ctime count=15 :) this works fine but it
> includes the -Draft. I thought that enabling the draft would
> automatically remove the -Draft pages from all pagelists, not: Pm2.2.5
> I want to make a pagelist that does remove them.
> (:pagelist fmt=#news order=-ctime -name= !-Draft$! count=15 :)
> returns nothing.
It looks like you're mixing regex with pagelists. Untested, but wouldn't
(:pagelist fmt=#news order=-ctime name=-Draft count=15 :)
~ ~ Dave
More information about the pmwiki-users