Can someone please explain to me what is the difference? Or if they're equals, but one is "righter" than the other one?

For example: I've seen something like namespace_module/helper


The first part namespace_module as the alias for your blocks, models, helpers you define in your config.xml


The second part after the slash gives you the exact block/model/helper of your extensions. The / replaces the class type (_Block_, _Model_, ...) you want to load.

For your example namespace_module/helper it means Magento should load (in case of a block) Namespace_Module_Block_Helper.

Same for models and helper classes ...


... will load ...


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.