Petko Yotov writes: > Yes, enable the "modulo" MarkupExpression, in config.php: > > # from Cookbook:MarkupExprPlus by DFaure > $MarkupExpr['mod'] = 'mod' => '0 + ($args[0] % $args[1])'; Sorry, this line was not correct, use this line instead: $MarkupExpr['mod'] = '0 + ($args[0] % $args[1])'; Petko