On 9/7/07, Mike Shanley <[EMAIL PROTECTED]> wrote:
> I've tried a few different methods and searched aplenty, but can't seem
> to find any information on how to determine if {$$PageCount} is odd or even.

Don't know if there's a better way, but at least this sould work: add
these two lines to your config.php:

function IsOdd($x) { return $x % 2; }
$Conditions['odd'] = 'IsOdd($condparm)';

And then you can use "(:if odd {$$PageCount}:)".

eemeli

_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to