Hello,
I just started to use your component, congratulation for a good job.
I just need a basic information here.
Let me start by saying that I KNOW that if people wants to download a pic and go around settings to avoid it, they will.
But let's be honnest, 10% of Internet at the most know how to do that.
A right click can be done by a monkey.
So, I want to apply this really easy code : <body oncontextmenu="return false">
I did it to my /template/index.php so it works for the thumbails.
My question is :
If I want it to be work also in the actual box (when I click on a pic) where in the directory of your component can I apply this code ? Which php or html ?
Thank a lot in advance,
Photo copyright
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Photo copyright
Hi, if you want to modify the body tag, you need to modify your template. Components does not procude body tag, they render their code inside the template html.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 13 Jan 2011, 21:33
Re: Photo copyright
Thnaks you for your answer Jan.
But, we agree that the pop up from Phocagallery is a template from Phoca, no ?
That's where I want to enter my code for the right click.
But, we agree that the pop up from Phocagallery is a template from Phoca, no ?
That's where I want to enter my code for the right click.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Photo copyright
Hi the popup if it is an iframe is still styled by your template, the body is set by your template.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 13 Jan 2011, 21:33
Re: Photo copyright
Thanks for youtr answer Jan.
I will try to work it out.
Thanks,
I will try to work it out.
Thanks,