For some products we need to use different page layouts, eg I might use 2columns-left everywhere but one-column just for a couple of special products.
At first it seems for the person running the site that’s easy, they just pick the different layout for their special products.
But what about when I need to trigger related changes in other files, eg in the one-column layout I want to show a larger image size, so I’d edit my media.phtml file, but how can I link my new media.phtml so that it only appears in the one-column pages?
Currently I’m using the custom layout updates to do this eg
<remove name="product.info.media" />
<block type="catalog/product_view_media" name="product.info.media_tall" as="media" template="catalog/product/view/media_tall.phtml" before="-"/>
So I have a new media_tall.phtml template that I use on these pages, but this is not a usable solution for the admins, they now have to change a drop down box and remember to paste this weird xml stuff into the product as well, over time this will become a nightmare - particularly as more and more alternate layouts get added.
I’m sure that somewhere in the sea of xml files there’s a configuration syntax that can do this!
I just can’t see it…
Anyone done this already or have some ideas???