Page 1 of 1

Email when ad images to Gallery possible?

Posted: Fri Feb 14, 2014 4:13 pm
by (M)
Is there an opportunity for visitors to indicate whether they want to stay informed about new pictures that I place in the gallery module. That they will receive automatically an email if I place images in a sub-gallery or all the galleries.

I have instal Notification module but maybe that is not the solution.

Re: Email when ad images to Gallery possible?

Posted: Fri Feb 14, 2014 6:01 pm
by JohnnyB
Unfortunately, the Gallery module doesn't register any of its own events (Event Manager under Extensions). Otherwise, you could write a small User Defined Tag to send an email whenever the Add Images event occurs. You would probably want your PHP written to send only once per day regardless of how many images were uploaded.

Then, you could use something like Newsletters Made Simple as a way for people to subscribe to the list.

Even though the Gallery doesn't register an event, CMSMS allows tasks to be run. In the /lib/task/ directory, check out one of the included tasks files as an example of how to run a task using the CMSMS cron.

Re: Email when ad images to Gallery possible?

Posted: Sun Feb 16, 2014 9:25 am
by (M)
Thank you for your explanation. PHP programming, unfortunately, is beyond my scope.