blob: d026163a0df7c051b32beea7b433ae5d953e6761 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<?php
function tagcloud_init() {
add_widget_type('tagcloud', elgg_echo('tagcloud:widget:title'), elgg_echo('tagcloud:widget:description'));
// Extend CSS
elgg_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');
?>
|