[pmwiki-users] Restricting a pagelist to a range of titles

Randy Brown randy at brownragfilms.com
Wed Sep 16 19:16:49 CDT 2009


Simon,

Thanks for the suggestion. Unfortunately match reg_expression returns  
true if current page name matches the regular expression - but I want  
to test the value of page title.

Randy

On Sep 16, 2009, at 6:25 PM, Simon wrote:

> I can't test this now, but try the following
>
> Pagelist has an if parameter. - http://pmwiki.org/wiki/PmWiki/PageLists#pagelistif
> Use a conditional expression against title. http://pmwiki.org/wiki/PmWiki/ConditionalMarkup
> Look at the match regexpression condition.
>
> cheers
>
> Simon
>
> 2009/9/17 Randy Brown <randy at brownragfilms.com>
> Is it possible to restrict the results of a pagelist to a range of
> titles? My page titles all begin with yyyy-mm-dd followed by text, for
> example "2009-09-16 This is today's page title" I'd like to be able to
> restrict my pagelist results to pages whose titles fall within a
> range, for example every page between 2009-09-14 and 2009-09-17.
>
> Randy
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>
>
> -- 
> ____
> http://kiwiwiki.co.nz

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20090916/84bc5037/attachment.html 


More information about the pmwiki-users mailing list