Php Phalcon with Smarty template

785 views Asked by At

I am trying to do sample application [a link]http://invo.phalconphp.com/ with Smarty template. Can anyone suggest me what is the equalent content() inside volt template to smarty template.

Any example Please let me know.

Thanks, Raja K

1

There are 1 answers

4
qrazi On

I think you have two issues here. Your problem with not finding the equivalent to content() stems from the fact that Smarty handles inheritance of templates differently. The { $title } not working as expected comes from the whitespace after and before the accolades. Change it to {$title}.