[pmwiki-users] Pagelist template - repeat each N entries
Oliver Betz
list_ob at gmx.net
Mon Feb 4 03:20:41 CST 2013
Petko Yotov wrote:
>> repeating certain elements every N entries of a page list would be
>> nice e.g. for table headers.
>>
>> Ist there a simple way to get this?
>
>Yes, enable the "modulo" MarkupExpression, in config.php:
> # from Cookbook:MarkupExprPlus by DFaure
(corrected to $MarkupExpr['mod'] = '0 + ($args[0] % $args[1])';)
Thanks, works!
I already thought about modulo or division but was seemingly too
stupid to use the search function.
Oliver
--
Oliver Betz, Munich http://oliverbetz.de/
More information about the pmwiki-users
mailing list