Home » Archive

Articles tagged with: template

Magento »

[8 Oct 2012 | 3 Comments]

Scenario: I have created a new custom module. Now, I need to edit a default template file. For example:-

Magento »

[10 Apr 2012 | 4 Comments]

Problem: I am using Magento 1.6 and my login and register page design has problem. It is not taking the template path from my custom theme. Instead, it is taking the template path from base persistent folder. For example, the login template path is taken from frontend/base/default/template/persistent/customer/form/login.phtml

Magento »

[7 Jan 2010 | 5 Comments]

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 »

[4 Dec 2009 | 4 Comments]

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 »

[16 Jul 2008 | One Comment]

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 »

[14 Jul 2008 | 2 Comments]

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 »

[29 Jun 2008 | No Comment]

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.