Different structure in listing templates
In Jamroom 4 the traditional way of formatting the output of a list of items was to use 3 separate template files:
something_ header.tpl
something_ row.tpl
something_ footer.tpl
In Jamroom 5 this has been condensed - there is now only a "template" parameter you use when making a {jrCore_list) call. This template comprises 3 parts:
- the header (above the foreach loop)
- each item (inside the foreach loop)
- the footer (after the foreach loop)
Jamroom 5 continues to use Smarty for templates:
http://www.smarty.net/
with the "foreach" handled by Smarty's {foreach} template function:
http://www.smarty.net/docs/en/language.function.foreach.tpl
If you are familiar with Jamroom 4 templates, you'll feel comfortable in Jamroom 5 templates as well.