debugging in smarty

if smarty is not rendering correctly, add the following options

$this->smarty->force_compile = true;
$this->smarty->debugging = true;
$this->smarty->error_reporting = true;

this should provide more information on what’s wrong.

Author: bpeh

Bernard Peh is a great passioner of web technologies and one of the co-founder of Sitecritic.net Website Design and Reviews. He works with experienced web designers and developers everyday, developing and designing commercial websites. He specialises mainly in SEO and PHP programming.