[pmwiki-users] Dumb Question.

Stirling Westrup sti at pooq.com
Thu Oct 5 11:34:50 CDT 2006


Stirling Westrup wrote:
> I've just started working with -Draft and I've run into a minor problem.
> I've noticed that the list=normal doesn't show drafts, which is usually
> what I want. However there are a few pages where I want to list the
> drafts along with the regular pages.
> 
> What's the best way in PHP to create a $SearchPatterns['drafty'] which
> is identical to the $SearchPatterns['default'] but removes the lines
> which exclude pages named *-Draft?
> 
Braino above. I meant that I want to base it on
$SearchPatterns['normal'] of course...




More information about the pmwiki-users mailing list