Forums / Developer / notifications only on newly published objects

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

notifications only on newly published objects

Author Message

Marko Žmak

Saturday 31 July 2010 1:33:39 pm

How can I set notifications to be sent only when an new object is created, and not when it's reedited?

I see that in notification.ini we have:

AvailableNotificationEventTypes[]=eznewcontent

under the [NotificationEventTypeSettings] group, but there's no eznewcontent folder in kernel/classes/notification/event/.

Why? Can this event still be used?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Andy Caiger

Wednesday 22 June 2011 6:46:14 am

This is a good question. It would be great if I set notifications to be sent only when an new object is created, and not when it's reedited!

EAB - Integrated Internet Success
Offices in England, France & China.
http://www.eab.co.uk http://www.eab-china.com http://www.eab-france.com