Ali Rajabpour Sanati
Ali Rajabpour Sanati

Reputation: 21

Joomla 3.2 header module disappeared

My header slideshow module disappeared all of the sudden. I have double checked configuration.php and module menu assignment and reinstalled my slideshow module but nothing was wrong. Would you please help me? Thank you in advance. www.totalshabake.com

Upvotes: 1

Views: 42

Answers (2)

Ali Rajabpour Sanati
Ali Rajabpour Sanati

Reputation: 21

Thank you Neil for your hint. I found the solution. I added if statement as below before my template javascript file and it worked like a charm.

if(typeof jQuery == 'undefined') {

//copy and paste your jQuery core code here //................................................. //.................................................

}

Upvotes: 1

Neil Robertson
Neil Robertson

Reputation: 3345

It's likely you have a MooTools / jQuery conflict. From your source code I can see that jQuery is loading before MooTools:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js" type="text/javascript"></script>
<script src="/plugins/system/jqueryeasy/jquerynoconflict.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.0/jquery-ui.min.js" type="text/javascript"></script>
<script src="/media/system/js/mootools-core.js" type="text/javascript"></script>
<script src="/media/system/js/core.js" type="text/javascript"></script>
<script src="/media/system/js/tabs-state.js" type="text/javascript"></script>
<script src="/media/system/js/mootools-more.js" type="text/javascript"></script>
<script src="/media/system/js/modal.js" type="text/javascript"></script>

Forcing MooTools to load before jQuery or stopping MooTools from loading if you don't need it will probably fix the problem.

You already have jQueryEasy enabled and it may be able to help (read the documentation).

You can also force MooTools to load early by adding the following line high up in the HEAD section of the template index.php file:

JHTML::_('behavior.framework', true);

Upvotes: 0

Related Questions