Lesson 8: Changing how Elgg does X
This lesson covers using a plugin hook. It also explains how to add administrative settings.
Problem
Groups can have blogs, but only the person who writes the blog post can edit it. You prefer that group blogs work like the pages tool that allow for collaborative editing. Or maybe you would like to create customized notification messages that are sent to your users through e-mail. You also might want to include custom information when people search your site. The common theme here is that Elgg is doing one thing and you would like it to do it differently.
Solution
Use plugin hooks, which are very similar to events. When something occurs, a plugin hook is triggered and the functions that are registered for that plugin ...
Get Elgg 1.8 Social Networking now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.