How to find out which Smarty templates were used for a page?
I do a lot of modifying of X-Cart Smarty templates. Thank goodness for the templating system... however, I find myself searching up chains of .tpl's which were called by another .tpl which was called by another .tpl, which gets tedious after a while (using grep, BBEdit, or any other means of searching the contents of all my skin1 files).
My question is, is there any kind of diagnostic message I can output which will display the tree of .tpl files which were involved in the display of a certain page? For instance, if I'm looking at a product list, I'd like to see some debugging info at the top of the page which indicates that products.tpl called product.tpl, and those were called by home_main.tpl (hypothetically speaking), so I would know what template files to modify if I wanted to change the content on the page.
Thanks for any help anyone can give.
Scott
|