Conflict with RSMediaGallery
9 years 4 months ago #31650
by negussolo
Conflict with RSMediaGallery was created by negussolo
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
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.
9 years 4 months ago #31652
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Conflict with RSMediaGallery
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
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
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
The following user(s) said Thank You: negussolo
Please Log in or Create an account to join the conversation.
9 years 4 months ago #31655
by negussolo
Replied by negussolo on topic Conflict with RSMediaGallery
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
JP
Please Log in or Create an account to join the conversation.
9 years 4 months ago #31657
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Conflict with RSMediaGallery
ok, don't hesitate to share the solution here 
and good luck !

and good luck !
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
9 years 4 months ago #31669
by negussolo
Replied by negussolo on topic Conflict with RSMediaGallery
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:
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.
9 years 4 months ago #31670
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Conflict with RSMediaGallery
thank you for the informations
good ideaFor now this JTS ContentProtect plugin will not be activated anymore !

Joomlack Webmaster and Developer
The following user(s) said Thank You: negussolo
Please Log in or Create an account to join the conversation.
Time to create page: 0.229 seconds