[NOT FLEXICONTENT code] Javascript error in mobile ( - 480px )

More
8 years 5 months ago - 8 years 5 months ago #64907 by tevez15
Hi guys,

I found a issue when I have a mobile resolution 480px or less, console give me that:
Code:
Uncaught TypeError: window.addEvent is not a function(…)

http://imgur.com/a/PboM1


I found the problem, but is a bug anyway.

You need have the rokbox enable, or installed. But if the webmaster dont want rokbox on her website, he needed to fix the problem.
Last edit: 8 years 5 months ago by ggppdk.

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

More
8 years 5 months ago #64908 by ggppdk
Hello

in frontend only
- minigallery field
-"recent favourites" list in universal content module (optionally enabled feature)

use mootools

the code that you mention is mootools,
- either update rokbox to newer version

or add mootools to the index.php of your Joomla template:
Code:
// Load mootools JHtml::_('behavior.framework', true);


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
8 years 5 months ago - 8 years 5 months ago #64909 by tevez15
Hi,

I use mootools on my project, the problem just happen when I dont have rokbox, or, rokbox is disable.

I associate this to FC, because this code are on the middle on FC js code :P sorry
Last edit: 8 years 5 months ago by tevez15.

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

More
8 years 5 months ago #64910 by ggppdk

I associate this to FC, because this code are on the middle on FC js code :P sorry


You do very well to report it !

we appreciate some good feedback,
that gives some detailed info, like you did

I have search through our code, and we do not add this code,
if you have web-site in localhost,

In a text editor do a directory-recursive text-search in files : *.php; *.js
for:

removeEvents('click'

you will find it, in files:
- mootools-more-uncompressed.js
- plus into some other file ...


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
The following user(s) said Thank You: tevez15

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

More
8 years 5 months ago #64928 by tevez15
For me now, is not a problem, because Im using rokbox, but for other developers probably will be.

Sorry again, my bad.

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

More
8 years 5 months ago #64931 by ggppdk
Hello

yes but this is not related to FLEXIcontent,

someone (not FLEXIcontent) is trying to use old mootools code without loading mootools

I suspect this is an old RocketTheme template, old rokobx installed

If you do the text-search then you will find


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.391 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save