If Joomla or some component have previously totally reset the present template using [cde] and that i do not have an accessibility reference from the overridden (previous) template and don't wish to make changes for the reason that a part of code which starts over web site (i.e. saving that old template reference before resetting web site using 'getTemplate()'). Can you really reach least your directory title (path) from the overridden template?

I wish to use that path within the JFactory::getApplication("site")->setTemplate($newTemplateReference) from the new template in order to access some files from the overriden template without beeing determined by that template title (writing the overriden template path eplictly).

Thanks ahead of time.

index.php