I have a scenario where i need to place two blocks one after the other in default handle. One block make use of template file while other use static block. Issue i am facing is ordering of the block. I want block with template file first and then static block.
code for layout file is as below
<layout version="0.1.0"> <default> <reference name="content"> <block type="core/template" name="practiceblock" after="page_content_heading" template="blockpractice/newblock.phtml"/> <block type="cms/block" name="practiceCMSBlock" after="-"> <action method="setBlockId"> <block_id>practiceCMSBlock</block_id> </action> </block> </reference> </default> </layout>
I have used after="-" for static block but is still show as below
Any clue for above?