Code: Select all
ReferenceError: jQuery is not defined
http://pyatka.in.uac/media/com_phocaphoto/bootstrap/js/bootstrap.min.js
Line 11
I file
Code: Select all
components/com_phocaphoto/views/categories/view.html.php
Code: Select all
JHTML::stylesheet('media/com_phocaphoto/css/style.css' );
if ($this->t['load_bootstrap'] == 1) {
JHTML::stylesheet('media/com_phocaphoto/bootstrap/css/bootstrap.min.css' );
$document->addScript(JURI::root(true).'/media/com_phocaphoto/bootstrap/js/bootstrap.min.js');
}
Code: Select all
JHTML::stylesheet('media/com_phocaphoto/css/style.css' );
if ($this->t['load_bootstrap'] == 1) {
JHtml::_('jquery.framework');
JHTML::stylesheet('media/com_phocaphoto/bootstrap/css/bootstrap.min.css' );
$document->addScript(JURI::root(true).'/media/com_phocaphoto/bootstrap/js/bootstrap.min.js');
}
P.S. And the same change is needed for the category and item views.