I would like to create 2 custom blocks. Each one will list category links for the navigation. One block will be putted within the header, the second one within the left bar (maybe with more categories then the first one).
Now, i’ve different questions about this:
-) Is it correct to create 2 new modules/block for these purposes?
-) Collateral question: is it correct to say “module” and “content blocks”, in this case, to indicate the same thing?
-) Important: i’m trying to create the module following this procedure http://www.gravitywell.co.uk/blog/post/how-to-creating-your-own-custom-block-in-magento, but i can’t succed. I’ve tried to hack the core files and all was working correctly, so i think i should better understand the xml files behavior.
-) about that procedure: is it correct to put within the new class the following constructor instead of the “template” tag within the xml block decalaration?
class Mage_ModuleDirectory_Block_Filename extends Mage_Core_Block_Template
Thanks in advance!