I am trying to create a product block on the home page where I copied page.xml to the theme layout folder and changed it as
<page_two_columns_left translate="label"> <label>All Two-Column Layout Pages (Left Column)</label> <reference name="root"> <action method="setTemplate"><template>page/2columns-left.phtml</template></action> <action method="setIsHandle"><applied>1</applied></action> </reference> <reference name="content"> <block type="core/template" name="mycategories" output="toHtml" template="sweet/sweet.phtml"/> </reference>
Here I was expecting one block in the middle of my home page, and I get this, but in addition to this, I get another block (the same as this sweet.phtml block) at the bottom of the home page. below the footer. Can anyone tell me what the problem is.
Scorpion
source share