How to get the path of the current template in Joomla 1.5?

  FerrisWin
  August 11, 2013 11:35am

Can someone help me figure out how to get the current template path in Joomla 1.5. I am creating a component and I just need to get some images from the template directory. Thanks.

 

 

1 Reponse

Post Response
3

Using the framework, you can call the following function to get the path of the current template in Joomla 1.5:

$app = JFactory::getApplication();
$templateDir = JURI::base() . 'templates/' . $app->getTemplate();

  Ben100 August 11, 2013 10:59pm reply (0)