diff options
author | capo <capo@riseup.net> | 2013-12-16 00:12:26 +0100 |
---|---|---|
committer | capo <capo@riseup.net> | 2013-12-16 00:12:26 +0100 |
commit | e5dd9906d16d97aed7ba3511b7e1132bd4da3761 (patch) | |
tree | 79d6ff965e20c54fb498433fa1435bf92f9e64c8 /start.php | |
parent | 408a27487d24938a3fa86c69a567b8666877347b (diff) | |
download | elgg-e5dd9906d16d97aed7ba3511b7e1132bd4da3761.tar.gz elgg-e5dd9906d16d97aed7ba3511b7e1132bd4da3761.tar.bz2 |
Added feature to be able to use simplepie rss module in the groups
Diffstat (limited to 'start.php')
-rw-r--r-- | start.php | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -20,4 +20,11 @@ function simplepie_init() { $lib = elgg_get_plugins_path() . 'simplepie/vendors/simplepie.inc';
elgg_register_library('simplepie', $lib);
+
+ // Add group option
+ add_group_tool_option('rss', elgg_echo('simplepie:enablerss'), false);
+ elgg_extend_view('groups/tool_latest', 'simplepie/group_module');
+
+ elgg_register_action('simplepie/group_module', elgg_get_plugins_path() . 'simplepie/actions/simplepie/group_module.php');
}
+
|