Authorization confirmation

Phoca Gallery - image gallery extension
RomanticMody
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 30 May 2013, 14:02

Authorization confirmation

Post by RomanticMody »

I wonder if there is a way to make phoca Gallery send confirmation mail to the user once the admin Authorize the uploaded image.
one more question, I want to add share icon on the thumbnail to share the photo on jocial media like facebook, or if there is some how to give the visitors the ability to share the image from the detail view.
Please I want a fast reply beacuse it's so urgent to me :)
Thanks in advance
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Authorization confirmation

Post by Jan »

Hi, to send an email, you need to cutomize the code. To make a share button, just use some module, see e.g.: https://www.phoca.cz/phoca-facebook-comments-module

Jan
If you find Phoca extensions useful, please support the project
RomanticMody
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 30 May 2013, 14:02

Re: Authorization confirmation

Post by RomanticMody »

I know this module, but it needs a position what position should I use.
I mentioned above I want the share buttons in the detail view, or in the popup modal box of the image
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Authorization confirmation

Post by Jan »

Hi, in fact adding the buttons to modal box is problematic, as you need the whole page where facebook can link - facebook cannot link directly to modal box. You can set "no popup" method for detail window, so it gets whole page. But if you only want to dislay the buttons on detail window, you need to customize it and make some if clause (to render only if view == 'detail && component == 'com_phocagallery' ...)

Jan
If you find Phoca extensions useful, please support the project
Post Reply