From ff46b7f628d928abaaaed721e0bb1434de9997b3 Mon Sep 17 00:00:00 2001 From: nickw Date: Tue, 1 Jun 2010 16:22:51 +0000 Subject: Extending default tagcloud view to include a link to all site tags. Also fixing a bug where errant "," was prepended to tag list. git-svn-id: http://code.elgg.org/elgg/trunk@6309 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/tagcloud/start.php | 38 ++++++++++++++++---------- mod/tagcloud/views/default/tagcloud/extend.php | 5 ++++ 2 files changed, 29 insertions(+), 14 deletions(-) create mode 100644 mod/tagcloud/views/default/tagcloud/extend.php (limited to 'mod') diff --git a/mod/tagcloud/start.php b/mod/tagcloud/start.php index d026163a0..9cd9164f6 100644 --- a/mod/tagcloud/start.php +++ b/mod/tagcloud/start.php @@ -1,18 +1,28 @@ + page_draw(elgg_echo('tagcloud:site:title'), $body); + break; + } +} + +register_elgg_event_handler('init', 'system', 'tagcloud_init'); diff --git a/mod/tagcloud/views/default/tagcloud/extend.php b/mod/tagcloud/views/default/tagcloud/extend.php new file mode 100644 index 000000000..d70fa77ad --- /dev/null +++ b/mod/tagcloud/views/default/tagcloud/extend.php @@ -0,0 +1,5 @@ +'; +echo "All site tags"; +echo ''; \ No newline at end of file -- cgit v1.2.3