I'm thinking about adding this into DooView but I can not settle on a syntax to use and also a way to allow for complex (every even number or other math functions) and also to allow the use of currently running loops so you might have
- Code: Select all
<!-- loop users -->
<!-- for:ForLoopName | 0 | < | users' value.@something | ++ -->
{{ForLoopName}}
<!-- if (ForLoopName % 5 == 0) -->
<br />
<!-- endif -->
<!-- endfor -->
<!-- endloop -->
This would become something like
- Code: Select all
<?php for ($ForLoopName = 0; $ForLoopName < $v2->something; $ForLoopName++) { ?>
...
<?php } ?>
Any thoughts ???
