victorpavlov
3/10/2013 - 7:49 PM

PHP:Joomla add JavaScript File

PHP:Joomla add JavaScript File

<?php 
$document = JFactory::getDocument();
$document->addScript(JURI::base().'templates/your_template_name/js/your.custom.js');
?>