[pmwiki-users] Pagelist template - repeat each N entries
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 % $args)';)
I already thought about modulo or division but was seemingly too
stupid to use the search function.
Oliver Betz, Munich http://oliverbetz.de/
More information about the pmwiki-users