Thank you @RvR!
What is the safest way to override them? The plugin should be loaded above the discussion plugin is that correct?
1 - Download My plugin or make your own custom plugin
2 - Copy file from
mod\discussions\views\default\forms\discussion\save.php
To this path:
mod\my_plugin\views\default\forms\discussion\save.php
And edit what you need.
3 - Copy file from
vendor\elgg\elgg\views\default\forms\comment\save.php
To this path:
mod\my_plugin\views\default\forms\comment\save.php
And edit what you nedd.
4 - Your custom plugin (e.g., My plugin) must be at the end of overriding view, i.e. after Discussions.
5- Don't forget flush the caches after your changes via Administration Dashboard
RvR, that is amazing! Thank you for explaining it so clear!
We're working on Rocket Chat right now. Have you any Slack examples for WordPress/Drupal integrations?
I think I can develop something to connect to the Slack API, in January I tried to get all of the notifications I have in the Elgg from the plugin and then send them to slack, but I failed.
Any idea how to register the handler to get all of the notifications from Elgg?
If this is not possible, just registering for the discussion notifications should be fine as well.
Thank you for your help RvR!
I will see at Slack API.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.