1
Smarty : Quick Install
Posted by gdhanasekar | Filed under Smarty
This is a simple guide to get Smarty setup and running quickly. The online documentation includes a very thorough explanation of a Smarty installation. This guide is meant to be a quick and painless way of getting Smarty working, and nothing more. The guide assumes you are familiar with the UNIX system environment. Windows users will need to make adjustments where necessary....
Automatic Column Layout in Smarty
Posted by gdhanasekar | Filed under Smarty
Simple Solution for any number of columns This is for any number of columns, and its short and painless: {assign var="cols" value="4"} {* change here for coumns count *} {* $cols is the number of columns you want *} {section name=numloop loop=$data} {$data[numloop]} {* see if we should go to the next row *} {if not ($smarty.section.numloop.rownum mod $cols)} {if not...
1