I want to override sidebar.phtml file of wishlist module in my own module.

Please guide me.


1 Answer 1


I guess that you want to change sidebar.phtml.

Create New Layout file at Custom Module:

for this case.You need to create a frontend layout file customwishlist.xml from this custom module like this.

<?xml version="1.0" ?>
    <!-- start of routers 

Change template file at new layout file

then on customwishlist.xml file using siderbar.phtml name and using setTemplate function set template .

<?xml version="1.0"?>
<layout version="0.1.0">
Default layout, loads most of the pages
    <default> <!--  wishlist_sidebar sidebar block name define at wishlist.xml -->
        <reference name="wishlist_sidebar">
              <action method="setTemplate"><template>youpath/customsider.phtml</template></action>


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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