[eluser]dnc[/eluser]
Although I have not attempted to implement Smarty with CodeIgnitor and have no way of testing this, you may want to try,
Code:
{ldelim}
{$form_error(‘firstname’, ‘<div class="error">’, ‘</div>’)}
{rdelim}
or maybe
Code:
{literal}
{$form_error(‘firstname’, ‘<div class="error">’, ‘</div>’)}
{/literal}
not sure if it will work, but worth a shot?