$('.fullwidthbanner').revolution is not a function

niremizov's picture
niremizov
Thu, 08/21/2014 - 14:53
#1
$('.fullwidthbanner').revolution is not a function

Hello. jQuery update version 1.10 enabled. On the front page I'am getting JS error: "Uncaught TypeError: undefined is not a function" - lovely.js - line 140. Well after debug, I have found out that for some reason you just not including this js libraries in md_lovely_preprocess_html (template.process.inc) - Why??

Okey, after placing:

drupal_add_js($themepath . '/assets/js/jquery.themepunch.plugins.min.js');

drupal_add_js($themepath . '/assets/js/jquery.themepunch.revolution.min.js');

in md_lovely_preprocess_html(), error mentioned above have dissapread, but another one have come up:

"Uncaught #" - jquery.vanillabox-0.1.5.mis.js (called from lovely.js line 187) ...

So can you fix this errors??

niremizov's picture
niremizov
Thu, 08/21/2014 - 15:24

As I understand you should add some kind of check whatever #video tag exist before applying vanillabox on it.

AND WHY - Views UI and Field UI are dependencies of Lovely Features ?? Please delete them from dependencies. It is very important to shut down not used modules on production site. Thank you.

template.php line 364, please add t() function:
$form['actions']['submit']['#value'] = t('Send a message');

cindy's picture
cindy
Thu, 08/21/2014 - 22:42

Hi,
Thank you very much for your feedback.
We will fix this bug asap!
Btw, is there any problems with the theme so far?

niremizov's picture
niremizov
Fri, 08/22/2014 - 16:29

Thank you, it seems that everything else is fine!

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.