In the admin panel I am editing a category and have set the "Custom Layout Update" to:

<reference name="widget.support">
    <action method="setTemplate">

widget.support is defined in my catalog.xml:

    <reference name="left">          
        <block type="core/template" as="widget.support" template="custom/widget-tradespecials.phtml" />

But this is not changing the template when I view the category page. How do I update the sidebar widget widget.support to show the other template?


I have to give the block a name attribute:

<block type="core/template" name="widget.support" as="widget.support" template="custom/widget-tradespecials.phtml" />

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.