aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/tagcloud/all.php15
-rw-r--r--mod/tagcloud/tagcloud.php2
2 files changed, 16 insertions, 1 deletions
diff --git a/mod/tagcloud/all.php b/mod/tagcloud/all.php
new file mode 100644
index 000000000..0927e3683
--- /dev/null
+++ b/mod/tagcloud/all.php
@@ -0,0 +1,15 @@
+<?php
+/**
+ * Display site tagcloud
+ **/
+
+// Load Elgg engine
+require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+
+$tags = display_tagcloud(0, 100, 'tags');
+
+//select the correct canvas area
+$body = elgg_view_layout("one_column_with_sidebar", $tags);
+
+// Display page
+page_draw(sprintf(elgg_echo('tagcloud:site:title'),$page_owner->name),$body); \ No newline at end of file
diff --git a/mod/tagcloud/tagcloud.php b/mod/tagcloud/tagcloud.php
index c40cc095b..f5cd3e7ae 100644
--- a/mod/tagcloud/tagcloud.php
+++ b/mod/tagcloud/tagcloud.php
@@ -1,6 +1,6 @@
<?php
/**
- * Display site tagcloud
+ * Display sidebar tagcloud
**/
// Load Elgg engine