Joomla Development Code Snippets
K2 Notify on New Comment
As of this writing (End of 2009), K2 doesn't yet have an auto-notification when new comments are added. I modified the item class by adding several methods and gave it this functionality. To implement the modification:
- Back-up and replace the following files:
yourwebsiteroot/administrator/components/com_k2/config.xml
yourwebsiteroot/components/com_k2/models/item.php - Login to your site's backend and go to the K2 component.
- Select parameters from the toolbar.
- Scroll down to the comments section and enter the email address to be notified.
- Test!
Download the K2 Comment Notifications modification.
