I am creating a new module for my Magento project where I have a few template files which get appended to >catalog_product_view catalog_category_default checkout_cart_index and few other pages. Currently, I have placed my module configuration file in >design/fontend/base/default/layout/modulename_subfolder.xml and template file is placed at >design/frontend/base/default/template/modulename/subfolder/my_product_view.phtml
I want to move this XML and phtml files to local/modulename/subfolder
I have tried creating the same folder structure in my module folder but it didn't work
design/fontend/base/default/layout/modulename_subfolder.xml
<layout version="0.1.0">
<catalog_product_view>
<reference name="content">
<block type="core/template" name="modulename_subfolder_product_view_block" template="modulename/subfolder/my_catalog_product_view.phtml" />
</reference>
</catalog_product_view>
</layout>