Categories
How to connect your scripts to Joomla?
The question is in the thread title..
Answer the question
In order to leave comments, you need to log in
Как то так:
$document = JFactory::getDocument(); $document ->addScript('/templates/'.$this->template.'/js/your_script.js');
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question