Announcement

#16 2011-12-29 16:14:04

lisaviolet
Member
san diego, california
2011-01-03
334

Re: [resolved] Right Click plugin doesn't work after upgrade.

I just looked at the template file. Might the problem be that I've modified my footer?

Offline

 

#17 2011-12-30 16:15:06

lisaviolet
Member
san diego, california
2011-01-03
334

Re: [resolved] Right Click plugin doesn't work after upgrade.

That was the problem.  My customized footer.  I deleted what I had and used the Perso Footer plugin.

And now the rightClick plugin works.

Offline

 

#18 2011-12-30 16:38:17

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: [resolved] Right Click plugin doesn't work after upgrade.

Very good! I was really wondering where the problem was.

[extension by ddtddt] Perso Footer is very easy to use and just works!

Offline

 

#19 2012-01-05 16:27:39

johnsnelstk
Guest

Re: [resolved] Right Click plugin doesn't work after upgrade.

hello

there is a simple alternative to desactivate right click
install header plugin
and past this code into the plugin configuration


<SCRIPT TYPE="text/javascript"> 
<!-- 
//Disable right click script 
//visit http://www.rainbow.arch.scriptmania.com/scripts/ 
var message="Sorry, right-click has been disabled"; 
/////////////////////////////////// 
function clickIE() {if (document.all) {(message);return false;}} 
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) { 
if (e.which==2||e.which==3) {(message);return false;}}} 
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;} 
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;} 
document.oncontextmenu=new Function("return false") 
// --> 
</SCRIPT> 


this is working fine on one of the sites i created
http://www.gianpaolo.nl

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact