DaveG wrote: > > [email protected] 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 > it be: > (:pagelist fmt=#news order=-ctime name=-Draft count=15 :) I wanted to point out that you are searching for a string "-Draft" that contains the pagelist exclusion operator as it's first character, "-". Not sure how to handle that, but name=--Draft doesn't look right :)
_______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
