Articles tagged with: template
In Magento 1.x, you could call/print any module’s template block in any other template (phtml) file with the following code:
In Magento 1.x, you could call/print the CMS Static Block in template file with the following code:
On running a Printing Shop, what you expect for? As any e-commerce business, the last goal might be profit and number of loyal customers who are willing to pay for your products. Unlike other businesses, Printing Shop requires much creation as well as technology sectors for the durable growth. Thus, how to grab the NO.1 position in this field is not simple at all. Take a view of this article to have the answer.
Priceless design is used to bring the unique and exquisite look to your Magento site. Based on Magento platform, these following templates might be your choice when you want to effectively boost more sales and traffic, getting high profit from your web-store. One more special is that they are not only beautiful designs but also functional items. They could be:
1. Magento Printing Theme
Magento Responsive Admin Template is seen as a sweet magician bringing a stylish but not less stunning performance to your web-shop. It is sure to make your Magento site more and more remarkable among others. Additionally, it is not necessary to take care whether you are a beginner or a master of this field. It is because this theme gives you the easiest accessibility on using it.
I have created a new custom module. Now, I need to edit a default template file.
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
You can easily get controller name, action name, router name and module name in any template file or class file.
IN TEMPLATE FILES
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.
In this article, I will be explaining about foreach and section loop used in Smarty. I will be using these loops for creating a selection list.
We can create selection list from a custom Smarty function html_options.
In previous article, I had written about installing and using Smarty. In this article, I will be showing how you can include header and footer in Smarty.
index.php assigns contents and calls the template file index.tpl
In this article, I will be introducing how to use Smarty Template engine. This is a beginner tutorial.
First of all, you need to download Smarty from http://www.smarty.net/download. You can follow a quickstart guide from here as well: http://www.smarty.net/quick_install. My approach of coding is a bit different than the quickstart guide present on smarty website.