Certificated magento

3.13) Can any block in Magento use a template file?

The template file usage in Magento is restricted to Mage_Core_Block_Template and blocks inheriting from it.

 
Other blocks in Magento like Mage_Core_Block_Text does not inherit from it but from Mage_Core_Block_Abstract so it cannot use a template file for rendering.

0 Bình luận

Trở về
  • 1.12) Set up a cron job
  • 1.12) Set up a cron job

    Let’s start with server setup.   As any complex system, Magento has a lot of tasks that need to be executed...