Page 1 of 1

Authorization confirmation

Posted: 13 Nov 2013, 17:14
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

Re: Authorization confirmation

Posted: 13 Nov 2013, 17:42
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

Re: Authorization confirmation

Posted: 13 Nov 2013, 17:57
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

Re: Authorization confirmation

Posted: 14 Nov 2013, 18:59
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