I have noticied that method enqueueMessage() from JApplication has been marked as deprecated, but what is the replacement method for that ?
Thanks by advance
Joomla Stack Exchange is a question and answer site for Joomla! administrators, users, developers and designers. It only takes a minute to sign up.Sign up to join this community
It's not deprecated on JApplicationCms, the best way to call it would be:
$app = JFactory::getApplication() $app->enqueueMessage('My Message here', 'success');
See https://api.joomla.org/cms-3/classes/JFactory.html#method_getApplication for more details and to see that it returns JApplicationCms