Para pegar o caminho do tema padrão
Joomla
$app = JFactory::getApplication();
$tpath = JURI::base(true).'/templates/'.$app->getTemplate().'/';
$app = JFactory::getApplication();
$tpath = JURI::base(true).'/templates/'.$app->getTemplate().'/';