for a given template file string, is it possible to check that it exists before the block is rendered and if not choose a different template to render.
my block therefore has a template set to customer/account/test.phtml
In the beforeToHtml i want to make sure that this can be found using the full fallback mechanism. i.e. that if it cannot be found in the current theme package that it can be found in base. If both of these fail then i will set a different template.
I can not find any examples in core code that do anything similar.
<checkout_cart_index>
-><action method="chooseTemplate"/>