diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-12 18:10:54 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-12 18:10:54 +0000 |
commit | f46bd9269d84f35e809cb6fddb72264adfbb0904 (patch) | |
tree | de421898a3162d5b58837b039c94b4c2908cd389 /mod/tagcloud/start.php | |
parent | 73ed4ae8513af1cc6e795b125cc1f319a965bfb4 (diff) | |
download | elgg-f46bd9269d84f35e809cb6fddb72264adfbb0904.tar.gz elgg-f46bd9269d84f35e809cb6fddb72264adfbb0904.tar.bz2 |
Added updated tagcloud plugin and added to core mods.
git-svn-id: http://code.elgg.org/elgg/trunk@5379 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/tagcloud/start.php')
-rw-r--r-- | mod/tagcloud/start.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mod/tagcloud/start.php b/mod/tagcloud/start.php new file mode 100644 index 000000000..cb397d7e9 --- /dev/null +++ b/mod/tagcloud/start.php @@ -0,0 +1,18 @@ +<?php + function tagcloud_init() { + add_widget_type('tagcloud', elgg_echo('tagcloud:widget:title'), elgg_echo('tagcloud:widget:description')); + + // Extend CSS + extend_view('css','tagcloud/css'); + + if(is_plugin_enabled('blog')) { + // extend blog sidebar with a tag-cloud + } + if(is_plugin_enabled('bookmarks')) { + // extend bkmrks sidebar with a tag-cloud + } + + } + + register_elgg_event_handler('init', 'system', 'tagcloud_init'); +?> |