I'm looking for a smart way of writing less code. What I want to do is described in this post (viewtopic.php?f=8&t=71862) and the solution gave was not good for me (ListIt2 is not easy to use by end users, and now is deprecated). Also it was referred to cmsms1, so I'm wondering if cmsms2 has something better in this matter.
In short, what I want to do is define an template with a number of blocks surrounded by same html structure; something like:
Code: Select all
{for $foo=1 to 10}
<div id="block{$foo}">
{content block="content{$foo}"}
</div>
{/for}