Keyword
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.

[SOLVED] FPSS3 don't work withour mootools-core.js?

  • Ufuk Avcu
  • Ufuk Avcu's Avatar Topic Author
  • Offline
  • New Member
More
12 years 8 months ago - 12 years 8 months ago #42209 by Ufuk Avcu
Hi Fotis,

i have a Joomla 1.7 installation and i disabled all JavaScript from the Joomla 1.7 Core. But Fpss3 don't work without mootools-core.js. I see only an infinite loop. I thought FPSS3 need only Jquery?!?

The Projektsite is here:
pt.jooag.de

Best regards

Ufuk Avcu (www.joomla-agentur.de)

Please Log in or Create an account to join the conversation.

More
12 years 8 months ago #42210 by Marjorie COULIN
Replied by Marjorie COULIN on topic Re: FPSS3 don't work withour mootools-core.js
That's indeed something I spotted on Joomla 1.5 too.
When mootools.js is not included within header scripts, spinning wheel keeps spinning.

Please Log in or Create an account to join the conversation.

  • Ufuk Avcu
  • Ufuk Avcu's Avatar Topic Author
  • Offline
  • New Member
More
12 years 8 months ago #42211 by Ufuk Avcu
Replied by Ufuk Avcu on topic Re: FPSS3 don't work withour mootools-core.js
I test it now with FPSS 3.0.1 and Joomla 1.7.0 and here exists this Problem also.

Please Log in or Create an account to join the conversation.

More
12 years 8 months ago #42212 by JoomlaWorks
Replied by JoomlaWorks on topic Re: FPSS3 don't work withour mootools-core.js
Try this...

Open up file /components/com_fpss/helpers/slideshow.php and delete/comment this block of code around line 455:
		if(version_compare(JVERSION,'1.6.0','ge')) {
			JHtml::_('behavior.framework');
		} else {
			JHTML::_('behavior.mootools');
		}

Let me know...

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
12 years 8 months ago #42213 by JoomlaWorks
Replied by JoomlaWorks on topic Re: FPSS3 don't work withour mootools-core.js
@jooag

Your site loads this:
		window.addEvent('domready', function() {

			SqueezeBox.initialize({});
			SqueezeBox.assign($$('a.modal'), {
				parse: 'rel'
			});
		});

This is Mootools code and it is loaded by Joomla (99%). So some Mootools code is trying to get executed but it's not. Thus it causes JS conflicts on the slideshow...

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Ufuk Avcu
  • Ufuk Avcu's Avatar Topic Author
  • Offline
  • New Member
More
12 years 8 months ago #42214 by Ufuk Avcu
Replied by Ufuk Avcu on topic Re: FPSS3 don't work withour mootools-core.js
Thank you Fotis,

Comment out: libraries/joomla/html/html/behaviour.php - line 338 - 345
$document->addScriptDeclaration("
		window.addEvent('domready', function() {

			SqueezeBox.initialize(".$options.");
			SqueezeBox.assign($$('".$selector."'), {
				parse: 'rel'
			});
		});");

and FPSS3 works without mootools-core.js

SOLVED

Please Log in or Create an account to join the conversation.

More
12 years 8 months ago #42215 by JoomlaWorks
Replied by JoomlaWorks on topic Re: FPSS3 don't work withour mootools-core.js
Like I said... it's not FPSS's problem. FPSS does NOT need Mootools. Joomla is throwing Mootools code, so if you slash off the Mootools library, it basically screws up any JS code with jQuery in.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum