Skip to content

Instantly share code, notes, and snippets.

@iamrobert
Last active July 15, 2021 20:29
Show Gist options
  • Save iamrobert/bca78ad52198f23097b51e2f1dfa9770 to your computer and use it in GitHub Desktop.
Save iamrobert/bca78ad52198f23097b51e2f1dfa9770 to your computer and use it in GitHub Desktop.
Test Your Joomla System Messages - Put in your template /index.php
JFactory::getApplication()->enqueueMessage('Blue Message', 'notice');
JFactory::getApplication()->enqueueMessage('Error Message', 'error');
JFactory::getApplication()->enqueueMessage('Warning Message', 'warning');
JFactory::getApplication()->enqueueMessage('Message Message', 'message');
JFactory::getApplication()->enqueueMessage('Success Message', 'success');
JFactory::getApplication()->enqueueMessage('Blank Message', '');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment