I encountered the situation where I needed to use a slightly different/modified view.phtml, list.phtml and page template for specific category, so I found the following solution:
I had used the following code (which I inserted in Catalog -> Manage Categories -> Custom Layout Update) and I set up the option: Applay to Product to Yes!
Here is my 1rst part of code and explanation:
<reference name="product_list">
<action method="setTemplate"> <template>catalog/product/list_custom.phtml</template></action>
</reference>
Above code is working great and because I wanted to have a slightly different list view templajt I created a new file called list_custom.phtml and there make some changes.
Here is my 2nd part of code and explanation:
<reference name="product.info">
<action method="setTemplate"> <template>catalog/product/view_custom.phtml</template></action>
</reference>
Also, above code is working great and because I wanted to have a slightly different view templajt I created a new file called view_custom.phtml and there make some changes. This is OK!
I, also, use the following code:
<reference name="root">
<action method="setTemplate"><template>page/custom_list.phtml</template></action>
</reference>
Here is where I need help :(
Above code is listening all the products as I want to, but when I click on the product I want that product (from specific category) to have different/custom page layout! Now, it is opened in custom_list.phtml templejt.