Tuesday, 24 January 2012 13:55

jqLocator is not defined error

Joomla templates need to have a properly formatting head section to allow components like Locator to add javascript libraries to the page. Ensure your template has a

<jdoc:include type="head" />

in the head section of the template HTML.

As a workaround, you can include the javascript in the page manually by adding our javascript to the template

 <script type="text/javascript" src=/components/com_locator/assets/jquery.min.js"></script>
<script type="text/javascript" src="/components/com_locator/assets/jquery.noconflict.js"></script>
Published in Locator