Articles tagged with: template
Magento »
You can easily get controller name, action name, router name and module name in template file or in any class file. IN TEMPLATE FILES
Magento »
You can easily call any static block from template (phtml) file. At first, you have to create a static block. Let us suppose, you created a static block with the identifier cool_items.
Smarty »
In this article, I will be illustrating and explaining about foreach and section loop used in Smarty. I will be using these loops for creating a selection list.
Smarty »
You can also include other smarty template files in one smarty template. This brings the use of template function available in Smarty. You may want to make a constant header and footer for your entire website. For this purpose, you can use the ‘include’ tag. Include tags are used for including other templates in the [...]
Smarty »
Smarty is a template engine for PHP. More specifically, it facilitates a manageable way to separate application logic and content from its presentation. This is best described in a situation where the application programmer and the template designer play different roles, or in most cases is not the same person.
