I know how to do it via system->configuration->Developer
and on other sites people have mentioned doing it by setting template_path_hints
to 1 in the config files
.
I would have tried to copy the method used in the admin section but this wasn't so easy to follow.