Shape 5

Joomla Club Extensions => Horizontal Accordion v2 - Club => : dboconcept January 09, 2013, 03:17:58 AM



: Joomla 3 fresh install + S5 HA = #<Object> has no method 'easeInOutCubic'
: dboconcept January 09, 2013, 03:17:58 AM
Hi there,

I'm using Joomla 3.0.2 Stable version, fresh install (no other custom module/plugin/template whatsoever)
I'm trying to get the S5 Horizontal Accordion module working with no success.

I keep getting "Uncaught TypeError: Object #<Object> has no method 'easeInOutCubic'" in the Chrome console and the module remains blank.

Here is what I did :
- Added the positions in the template's xml (default beez3 template, same result with another template)
- Created and published a S5 HA module on 'top' position
- Created and published a custom html module on 'sa_ha_1' position

The module is displayed (at least its space if visible) but remains desperately blank and the error is displayed in the console, as well as two 404 errors :
Uncaught TypeError: Object #<Object> has no method 'easeInOutCubic' jquery.min.js:2
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8081/vdce/images/s5_ha_vault.png
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8081/vdce/modules/mod_s5_horizontal_accordion/images/active.png


There is no online version (yet).

Thanks in advance for your help  ;)


: Re: Joomla 3 fresh install + S5 HA = #<Object> has no method 'easeInOutCubic'
: mikek January 09, 2013, 08:02:08 AM
Hello,

I would need to be able to see this online in order to debug. It is not showing any errors locally. If you can post a url I can review it from there.


: Re: Joomla 3 fresh install + S5 HA = #<Object> has no method 'easeInOutCubic'
: dboconcept January 09, 2013, 08:45:09 AM
Hey Mike,

Here it is : [removed]

Now I see that there is an additional mootools error in the console.
The only thing I did since my previous post is fill in my main menu (that isn't visible in that template) and create some articles.


Thanks for your help...


: Re: Joomla 3 fresh install + S5 HA = #<Object> has no method 'easeInOutCubic'
: mikek January 09, 2013, 10:52:28 PM
Hello,

The mootools errors would be from something else, this module does not use mootools. You stated this in your first post:

created and published a custom html module on 'sa_ha_1' position

Make sure your name is s5_ha_1 not sa_ha_1. Also, make sure you have published to 1 and 2 with different modules. And finally make sure those modules are published to all pages.


: Re: Joomla 3 fresh install + S5 HA = #<Object> has no method 'easeInOutCubic'
: dboconcept January 10, 2013, 02:25:19 AM
Dear Mike,

All parameters were correct.

It seems the only 'easing' accepted by the module as it is is 'linear' (so actually no easing at all) :

Replacing
:
var easing = 'easeInOutCubic';
on line 9 of modules\mod_s5_horizontal_accordion\js\s5_horizontal_accordion.js by
:
var easing = 'linear';

somehow made it "work".
I consider it as a degraded mode, as it is currently not possible to use your module with any of the 10 easings available with jQuery.
I guess there is a discrepancy somewhere between these versions of the module, Joomla and jQuery.

Let me know...

Cheers
dbo