block

  1. Magento : How add translation ability into cms page or static block

    Magento : How add translation ability into cms page or static block

    As we all know magento have multi-language store. If you want to run a multi-languages site, you may face a necessity to create separate version of every static block or CMS page for every...

    Read more »
  2. Magento: Calling block programmatically in magento

    Magento: Calling block programmatically in magento

    Here is the code for calling block in Magento:-
    Module page
    [php]
    <?php echo $this->getLayout()->createBlock('newmodule/newblock')->setTemplate('newmodule/newblock.phtml')->toHtml();...

    Read more »