How to call any template inside phtml file magento

Posted by on May 4, 2013 in Magento, Php | No comments yet

Sometimes you want to call a block inside a .phtml file without defining in layout. In this case, we can use a method called toHtml of a block. Assume that we have a block called Mymodule and a template that …

How to get the skin,media url in magento

Posted by on Nov 19, 2012 in Magento | No comments yet

we can call the images and js files inside the template’s skin folder in an phtml file by the following code snippet And in static block we can call it as To get the media url in static block use …

Load More