cancel
Showing results for 
Search instead for 
Did you mean: 

Issues in custom module creation

Issues in custom module creation

Hai everyone..

 

I created one custom module.in this module everything working fine except footer

 

When add in footer block from mymodule.xml file content block is not showing. At a time any one block showing

 

my code is

 

<?xml version="1.0" encoding="UTF-8"?>
<layout version="0.1.0">

<mymodule_index_index>
<reference name="content">
<block type="core/template" name="mymodule" template="sns/mymodule/mymodule.phtml" />
</reference>
<reference name="footer">
<block type="cms/block" name="footer" as="footer" template="page/html/footer.phtml">
</reference>
<!-- <block type="core/template" name="footer" as="footer" template="page/html/footer.phtml"> -->
</mymodule_index_index>
</layout>

 

can you help to me kindly.

1 REPLY

Re: Issues in custom module creation

Hi!

Try using a name (name, as) of your block that is different from "footer". That should be done because this is the name of the block you are trying to add your own block to.

 

 

______________________________________________________________
Innovative, top-performing Magento Extensions (with an array of FREE tools).