diegobenincasa wrote: ↑
20 Apr 2021, 15:17
Changing to Protostar theme (and adjusting the menu item position, of course) makes Phoca Gallery work just fine, so I guess it is some sort of incompatibility with the template I'm using. It's a Brazilian Government standard template that can be found at https://github.com/joomlagovbr/joomla-3.x
Maybe you could contact there the Template developer & ask about to update it. e.g.:
https://github.com/joomlagovbr/joomla-3 ... stract.php
Checking the Edge console shows this, two times:
Code: Select all
Uncaught ReferenceError: jQuery is not defined
Am I right to assume that the template should have loaded it and it is not doing so? If yes. where do I load jQuery, and how?
Can give you only generell infos, maybe it helps:
Enter the template's index.php as early as possible, e.g. immediately after
defined ('_ JEXEC') or die;
Then jquery should always be loaded in the HEAD block of the page. Or at the point where the line
<jdoc: include type = "head" />
stands (and it should be in the HEAD block).
Then check the source code in the browser to see if jquery appears anywhere else. That must not be.
Then check whether all scripts that JQuery need, are loaded BEHIND the loading lines inserted by Joomla.
Or: You could try to solve it with: jQuery Easy: https://extensions.joomla.org/extension/jquery-easy/
as we can't know about your template.