Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
You need to condition the context because Joomla content triggers are not limited to Joomla articles. They're used in a lot of other locations. Enable debug mode and maximum error reporting in Joomla global configuration then in your auto action enable Debug under the Parameters tab to output an errors so you can see why the auto action is failing. Beyond that I can not advise you on using Joomla events and you'll need to refer to Joomla documentation regarding them.Is there any reason possibly that conditions are mandatory for some of these triggers?
Please Log in to join the conversation.
Please Log in to join the conversation.
/**
* @param string $context The context of the content passed to the plugin (added in 1.6)
* @param object $article A JTableContent object
* @param bool $isNew If the content has just been created
*/
public function onContentAfterSave( $context, $article, $isNew )
Please Log in to join the conversation.