You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#101650 Doubts about onContentAfterSave on JCE

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Ryan on Thursday, 07 November 2019 19:08 GMT

trovao
Hello,

I developed a plugin that send email when a new article is created, this plugin uses public function onContentAfterSave ($ context, $ article, $ isNew) and works perfectly in the backend, when I create an article in the frontend the plugin does not run, there is something particular of the JCE that needs to be modified?

Thanks and sorry english using google :)

Ryan
The onContentAfterSave event is triggered by the Joomla Article Manager (com_content) when the article content, passed from JCE to the Joomla Article Manager, is saved.

JCE does not trigger this event, as it is not directly involved in the article save process.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.