I am trying to set up the root template of
<catalog_category_layered> from catalog.xml
I know how to use admin to change the root template for categories, but i want to change it from 'catalog.xml'. I added
<reference name="root"> <action method="setTemplate"><template>page/product_view_custom.phtml</template></action> </reference>
<catalog_category_layered> just after the node starts. But it is not taking that template.
EDIT: IS the final say which layout is to be loaded for a category page is decided by magento admin? I guess YES.
If YES is there any way i can hard code my required layout to magento. Even if it means editing the core file i don't mind as this is for a internal beta release of an existing website. Why I am trying to do this is if i change anything in Admin it screws the live site
NOTE : The answer below was accepted as my question was slightly different initially. and for that it works fine.