aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'views/default')
-rw-r--r--views/default/canvas/layouts/widgets.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/views/default/canvas/layouts/widgets.php b/views/default/canvas/layouts/widgets.php
index e52cc3f08..e98d2f99a 100644
--- a/views/default/canvas/layouts/widgets.php
+++ b/views/default/canvas/layouts/widgets.php
@@ -19,6 +19,15 @@
<?php echo $vars['area2']; ?>
+ <?php
+
+ if ($widgets = get_widgets(page_owner(),get_context(),2)) {
+ foreach($widgets as $widget) {
+ echo elgg_view_entity($widget);
+ }
+ }
+
+ ?>
</div><!-- /#wrapper_sidebar_right -->
@@ -32,6 +41,15 @@
<?php echo $vars['area1']; ?>
+ <?php
+
+ if ($widgets = get_widgets(page_owner(),get_context(),1)) {
+ foreach($widgets as $widget) {
+ echo elgg_view_entity($widget);
+ }
+ }
+
+ ?>
</div><!-- /#wrapper_maincontent -->