- Posts: 15
COMMUNITY FORUM
- Forum
- Commercial Joomla Extensions & Templates
- Commercial Joomla Templates
- nuContent Scroller Problems
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.
nuContent Scroller Problems
- Jon Ward
- Topic Author
- Offline
- New Member
Less
More
11 years 2 months ago #136890
by Jon Ward
nuContent Scroller Problems was created by Jon Ward
I have created a nuContent Item Module using the Scroller sub-template.
With Joomla Debug on, the scroller works. WithJoomla Debug off, the scroller does not work.
The only differences between the HTML output is the order of the behaviour.js file...
With Debug enabled...
.
.
.
<script src="/7dw2/media/system/js/tabs.js" type="text/javascript"></script>
<script src="/7dw2/media/system/js/mootools-core-uncompressed.js" type="text/javascript"></script>
<script src="/7dw2/media/system/js/core-uncompressed.js" type="text/javascript"></script>
<script src="/7dw2/media/system/js/caption-uncompressed.js" type="text/javascript"></script>
<script src="/7dw2/media/jui/js/jquery.js" type="text/javascript"></script>
<script src="/7dw2/media/jui/js/jquery-noconflict.js" type="text/javascript"></script>
<script src="/7dw2/media/jui/js/bootstrap.js" type="text/javascript"></script>
<script src="/7dw2/templates/numuzik/js/behaviour.js" type="text/javascript"></script>
<script src="maps.googleapis.com/maps/api/js?sensor=false">
<script src="jon-ward.com/7dw2/plugins/system/flickrsuiteimageviewer/scripts/highslide/highslide-full.js">
<script src="jon-ward.com/7dw2/plugins/system/flickrsuiteimageviewer/scripts/upgFlickrSuite-highslide.js">
.
.
.
With debug disabled...
.
.
.
<script src="/7dw2/media/system/js/tabs.js" type="text/javascript"></script>
<script src="/7dw2/media/system/js/mootools-core.js" type="text/javascript"></script>
<script src="/7dw2/media/system/js/core.js" type="text/javascript"></script>
<script src="/7dw2/media/system/js/caption.js" type="text/javascript"></script>
<script src="/7dw2/templates/numuzik/js/behaviour.js" type="text/javascript"></script>
<script src="/7dw2/media/jui/js/jquery.min.js" type="text/javascript"></script>
<script src="/7dw2/media/jui/js/jquery-noconflict.js" type="text/javascript"></script>
<script src="/7dw2/media/jui/js/bootstrap.min.js" type="text/javascript"></script>
<script src="maps.googleapis.com/maps/api/js?sensor=false">
<script src="jon-ward.com/7dw2/plugins/system/flickrsuiteimageviewer/scripts/highslide/highslide-full.js">
<script src="jon-ward.com/7dw2/plugins/system/flickrsuiteimageviewer/scripts/upgFlickrSuite-highslide.js">
.
.
.
I think the problem is that behaviour.js requires jquery to work.
Thanks,
Jon
With Joomla Debug on, the scroller works. WithJoomla Debug off, the scroller does not work.
The only differences between the HTML output is the order of the behaviour.js file...
With Debug enabled...
.
.
.
<script src="/7dw2/media/system/js/tabs.js" type="text/javascript"></script>
<script src="/7dw2/media/system/js/mootools-core-uncompressed.js" type="text/javascript"></script>
<script src="/7dw2/media/system/js/core-uncompressed.js" type="text/javascript"></script>
<script src="/7dw2/media/system/js/caption-uncompressed.js" type="text/javascript"></script>
<script src="/7dw2/media/jui/js/jquery.js" type="text/javascript"></script>
<script src="/7dw2/media/jui/js/jquery-noconflict.js" type="text/javascript"></script>
<script src="/7dw2/media/jui/js/bootstrap.js" type="text/javascript"></script>
<script src="/7dw2/templates/numuzik/js/behaviour.js" type="text/javascript"></script>
<script src="maps.googleapis.com/maps/api/js?sensor=false">
<script src="jon-ward.com/7dw2/plugins/system/flickrsuiteimageviewer/scripts/highslide/highslide-full.js">
<script src="jon-ward.com/7dw2/plugins/system/flickrsuiteimageviewer/scripts/upgFlickrSuite-highslide.js">
.
.
.
With debug disabled...
.
.
.
<script src="/7dw2/media/system/js/tabs.js" type="text/javascript"></script>
<script src="/7dw2/media/system/js/mootools-core.js" type="text/javascript"></script>
<script src="/7dw2/media/system/js/core.js" type="text/javascript"></script>
<script src="/7dw2/media/system/js/caption.js" type="text/javascript"></script>
<script src="/7dw2/templates/numuzik/js/behaviour.js" type="text/javascript"></script>
<script src="/7dw2/media/jui/js/jquery.min.js" type="text/javascript"></script>
<script src="/7dw2/media/jui/js/jquery-noconflict.js" type="text/javascript"></script>
<script src="/7dw2/media/jui/js/bootstrap.min.js" type="text/javascript"></script>
<script src="maps.googleapis.com/maps/api/js?sensor=false">
<script src="jon-ward.com/7dw2/plugins/system/flickrsuiteimageviewer/scripts/highslide/highslide-full.js">
<script src="jon-ward.com/7dw2/plugins/system/flickrsuiteimageviewer/scripts/upgFlickrSuite-highslide.js">
.
.
.
I think the problem is that behaviour.js requires jquery to work.
Thanks,
Jon
Please Log in or Create an account to join the conversation.
- Yiota
- Offline
- Elite Member
Less
More
- Posts: 311
11 years 2 months ago - 11 years 2 months ago #136891
by Yiota
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Yiota on topic nuContent Scroller Problems
Hello Jon,
behaviour.js indeed requires the jQuery library otherwise it won't work properly.
behaviour.js indeed requires the jQuery library otherwise it won't work properly.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Jon Ward
- Topic Author
- Offline
- New Member
Less
More
- Posts: 15
11 years 2 months ago #136892
by Jon Ward
Replied by Jon Ward on topic nuContent Scroller Problems
OK, So, how do I force behaviour.js to get loaded AFTER jquery? That's the problem. It's getting loaded BEFORE jquery.
Jon
Jon
Please Log in or Create an account to join the conversation.
- Yiota
- Offline
- Elite Member
Less
More
- Posts: 311
11 years 2 months ago #136893
by Yiota
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Yiota on topic nuContent Scroller Problems
Open helper.php file in templates/numuzik/includes/ and right above
$document->addScript(JURI::base(true).'/templates/'.$this->template.'/js/behaviour.js');
add the following:
JHtml::_('jquery.framework');
$document->addScript(JURI::base(true).'/templates/'.$this->template.'/js/behaviour.js');
add the following:
JHtml::_('jquery.framework');
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Jon Ward
- Topic Author
- Offline
- New Member
Less
More
- Posts: 15
11 years 2 months ago #136894
by Jon Ward
Replied by Jon Ward on topic nuContent Scroller Problems
Thanks - that seems to have solved the problem I was having.
Have you guys thought about getting rid of the mootools requirement?
Have you guys thought about getting rid of the mootools requirement?
Please Log in or Create an account to join the conversation.
- Forum
- Commercial Joomla Extensions & Templates
- Commercial Joomla Templates
- nuContent Scroller Problems