I'm working a theme for my personal blog. While updating from Pivot 1 to PivotX, I decided I should spruce up the old design. But I've encountered a slight problem.
See I'm not looking for each entry on the main page to look the same, I want the design to switch as it goes down the page. Which I have managed to achieve by adding a mod value to the template system in module_parser.php. Its pretty basic just returns the remainder of the current entry divided by how many entry designs I have currently which is 4.
So within the front-page template file I can put [[ include file="specis/bubble_entry_$mod.html" ]] within the subweblog section and this produces the expected result for me.
I was just wondering if the template system allows an easier way to do this kind of thing without resorting to adding additional code to the parser system. Because i just know the first update I'll forget that I edited that file and go ahead and blindly replace it.