EU cookie compliance popup and MD_Slider

nikadevs's picture
nikadevs
Fri, 01/12/2018 - 05:23
#1
EU cookie compliance popup and MD_Slider

Hello again.

through testing I found out that there is an issue with the combination 'MD_Slider' in the theme and the EU Cookie compliance module :
- when there is a MD_Slider on the page, the EU Cookie compliance popup shows but immediately goes away again, as if I clicked on it (but I didn't)
- when I remove the MD_Slider from the page, the EU Cookie compliance popup works as it should.

This issue is also described here:https://www.drupal.org/project/eu_cookie_compliance/issues/2504011

You can experience the behavior on my testsite :

http://dev-pc-explore.pantheonsite.io/en with the MD_Slider disabled
http://dev-pc-explore.pantheonsite.io/nl with the MD_Slider enabled

I use MD_Slider module 2.21

Thanks.

cindy's picture
cindy
Mon, 01/15/2018 - 06:03

Hi,

We test our latest version and see no problem

You should update the newest version which can be found at your account page or you can download from Themeforest

If yes but there is still problem, please send us your site url and admin account to check 

nikadevs's picture
nikadevs
Tue, 01/16/2018 - 02:12

Hi,

Thanks, I tried with your latest version but the issue remained.
I then debugged the JavaScript, found the issue and managed to work around it.

It was the 'scroll'-event of the EU cookie compliance module which was triggered by the rendering of the MD_Slider.
Fortunately, by disabling the functionality 'Consent by scrolling' in the EU cookie compliance module, the 'scroll'-event was no longer triggered.

Thanks.

cindy's picture
cindy
Tue, 01/16/2018 - 21:36

Thank you very much for your feedback

vistree's picture
vistree
Mon, 05/20/2019 - 07:47

This is still a problem with current version of md slider and eu cookie compliance module. How can we fix this?

cindy's picture
cindy
Wed, 05/22/2019 - 23:29

Hello

Did you update the latest version of EU Cookie Compliance module? Please update

vistree's picture
vistree
Thu, 05/23/2019 - 04:47

Hi Cindy, sure. All modules are up to date!

cindy's picture
cindy
Tue, 05/28/2019 - 06:23

Sorry for the late respond

We try to test but see no problem

Please send us your site url, admin account àn FTP account to check 

cindy's picture
cindy
Tue, 06/04/2019 - 23:16

Hello

The problem is because there are several jquery versions in your site, including: 

+ https://stage.freche-loesungen.de/sites/all/modules/jquery_update/replac...

+ https://stage.freche-loesungen.de/sites/all/themes/endvo/js/vendor/jquer...

This wil cause errors for all pages, even pages do not contain MD Slider. For example, this page: http://prntscr.com/nxqjus

Please use jquery version of module jquery update, and remove version of theme endo

http://prntscr.com/nxql3q

vistree's picture
vistree
Wed, 06/05/2019 - 03:10

Hi Cindy, this is great! Removing the extra js from envor theme.info solves this problem. Many thanx!!!

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.