Hi there,
Is it possible to prevent right click on an intermediate size image?
Actually I did it in G1, but here I have difficulty doing within a template code.
Thanks, nedret
http://www.google.com/search?q=on%20right%20click&sourceid=mozilla2&ie=utf-8&oe=utf-8
Hi arkam,
I know how to disable right-click.
I just need help finding out where in the gallery code to do it.
Sorry, i answered too fast.
You may add the javascript code into the gallery/templates/global.tpl file
and maybe the best way is to create the folder gallery/templates/local in which you copy the templates/* files then modify the local/global.tpl file
Doing so, your modifications won't be erased if you install a new or upgrade gallery
I am using G2, and I cannot find this file gallery/templates/global.tpl,
would you mind to told me where to add those code for G2?
THX!
Posts: 12
http://www.google.com/search?q=on%20right%20click&sourceid=mozilla2&ie=utf-8&oe=utf-8
Posts: 17
Hi arkam,
I know how to disable right-click.
I just need help finding out where in the gallery code to do it.
Posts: 12
Sorry, i answered too fast.
You may add the javascript code into the gallery/templates/global.tpl file
Posts: 12
and maybe the best way is to create the folder
gallery/templates/local in which you copy the templates/* files then modify the local/global.tpl file
Doing so, your modifications won't be erased if you install a new or upgrade gallery
Posts: 23
Hi arkam,
I am using G2, and I cannot find this file gallery/templates/global.tpl,
would you mind to told me where to add those code for G2?
THX!