I have created a custom module
create/routing, with a controller
RoutingController.php which has several actions
index, upload, instagram and I would like to update the template for all of these actions to a custom file
page/routing.phtml within my
customer/account module I would write:
<customer_account> <reference name="root"> <action method="setTemplate"><template>page/1column.phtml</template></action> </reference> </customer_account>
However following the same method for my own module:
<create_routing> <reference name="root"> <action method="setTemplate"><template>page/routing.phtml</template></action> </reference> </create_routing>
Does not change the template for any action.
I have also tried
<create_routing_default /> and I know the
setTemplate method works as if I add it directly to an action i.e.
<create_routing_index /> the template is correctly updated.
I must be missing something fundamental here, do I need to declare something within my module to enable this functionality?