I think "!=" is php code, not pmwiki markup. Try something like if="equal '$:revdt' '{$LastModified}' " instead. (I haven't tested it - but you get the idea.)

Randy

On Mar 21, 2008, at 10:28 AM, Sameer Kumar wrote:

I would like to compare a Page Text Variable with a Page Variable in the pagelist directive. I have a PTV called “revdt” which contains a date-time stamp in some pages. I want to exclude pages where the value of $:revdt is identical to the {$LastModified}.

I would appreciate some help with the syntax; I have tried the below and it doesn’t work!

(:pagelist group=Standards count=3 if="$:revdt!={$LastModified}" fmt=#grouprecchanges order=-time:)

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to