Conflict with RSMediaGallery

Conflict with RSMediaGallery was created by negussolo

Posted 8 years 3 months ago #31650
Hi,

It seems that Cookies Ck plugin is in conflict with RSMediaGallery. The corresponding website is www.lacluse.eu
When a public user connects, the RSMediagallery slideshow modules in position 7 (protostar template) show all the images one below the other. As soon as it is a registered user the slideshows are ok. I asked for support to RSJoomla. They gave me the following answer :

start
We can notice the following error on your page (you can inspect the page's source code):

$("#cookiesck").append("<span class=\"cookiesck_inner\">En visitant ce site, vous acceptez l'utilisation de cookies afin de vous proposer les meilleurs services possibles.</span>")
.append("<a ondragstart="return false;" href=\"/2-non-categorise/29-cookies\" target=\"_blank\" id=\"cookiesck_readmore\">En savoir plus</a>")
.append("<div id=\"cookiesck_accept\">J'ai compris !</div>")
.append("<div style=\"clear:both;\"></div>");

This particular snippet:

ondragstart="return false;"

Should be (notice single quotes):

ondragstart='return false;'
end

When the Cookies CK is not activated, there is no problem. So its seems that there is a small bug somewhere but I cannot correct it. Which Cookies CK file should I correct ?

Thank you in advance for your help

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

Replied by ced1870 on topic Conflict with RSMediaGallery

Posted 8 years 3 months ago #31652
Hi
I have checked by my side, and you can see this also in the PHP code of the plugin :
There is no "ondragstart" event in my plugin. By my side the link generated is like this
Code:
<a ondragstart="return false;" href=\"/2-non-categorise/29-cookies\" target=\"_blank\" id=\"cookiesck_readmore\">En savoir plus</a>

So if this is the problem (and from what I see on your website, yes it is), you must find which extension published in your website is adding this code to the cookies CK link.
Sorry but for this I can not help you more ... :(
CEd

Joomlack Webmaster and Developer

by ced1870
The following user(s) said Thank You: negussolo

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

Replied by negussolo on topic Conflict with RSMediaGallery

Posted 8 years 3 months ago #31655
Ok Ced. Thank your your quick answer. I'm going to continue my investigations. I'll let you know if I find something wrong somewhere.
JP

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

Replied by ced1870 on topic Conflict with RSMediaGallery

Posted 8 years 3 months ago #31657
ok, don't hesitate to share the solution here :)
and good luck !

Joomlack Webmaster and Developer

by ced1870

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

Replied by negussolo on topic Conflict with RSMediaGallery

Posted 8 years 3 months ago #31669
I found that plugin JTS ContentProtect has "ondragstar events". And when this plugin is not activated the problem is solved.
So I tried to correct the php file as suggested by RSJoomla and I changed ondragstart="return false;" by ondragstart='return false;'. Then it leads to an error 500 ! :ohmy:

It seems too difficult for me :(

For now this JTS ContentProtect plugin will not be activated anymore ! :evil:

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

Replied by ced1870 on topic Conflict with RSMediaGallery

Posted 8 years 3 months ago #31670
thank you for the informations

For now this JTS ContentProtect plugin will not be activated anymore !

good idea ;)

Joomlack Webmaster and Developer

by ced1870
The following user(s) said Thank You: negussolo

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

Time to create page: 0.714 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 786 guests and no members online