Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

send email notification to member when new page is first published


Go to End


2 Posts   1389 Views

Avatar
Ben_W

Community Member, 80 Posts

27 November 2009 at 1:49pm

is it possible to send out email notification to members when a page is published the first time? Where is the possible entry point for this? I would assume to look into the 'save and publish' button trigger. Please advice. Thank you.

Avatar
baba-papa

Community Member, 279 Posts

29 November 2009 at 9:15pm

When a page gets published there will be a new entry to the SiteTree table. Use a hook with onBevoreWrite().