[pmwiki-users] Pagelist {$$option} does not accept page variable value?

Roman romat2 at gmail.com
Fri Mar 23 05:04:27 CDT 2007


> As far as range and general comparison syntax is concerned,
> $:XYZ=function(value) syntax looks to me as a best choice. It opens
> door for future extensions. Last two syntaxes could offer same
> extensibility, but they look so unusual (it's just feeling).

Thinking about it further, in my particular case I could write:

$:Date=date({$SevenDaysAgoISO} ..{$TodayISO})

If we could define own comparison (filtering) functions I could even
use it without page variables:

$:Date=last7days()

Roman



More information about the pmwiki-users mailing list