aboutsummaryrefslogtreecommitdiff
path: root/views/default/canvas
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/canvas')
-rw-r--r--views/default/canvas/layouts/widgets.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/views/default/canvas/layouts/widgets.php b/views/default/canvas/layouts/widgets.php
index 1ef87d2f6..403ea8f96 100644
--- a/views/default/canvas/layouts/widgets.php
+++ b/views/default/canvas/layouts/widgets.php
@@ -174,7 +174,13 @@
if (is_array($area2widgets) && sizeof($area2widgets) > 0)
foreach($area2widgets as $widget) {
- echo elgg_view_entity($widget);
+ // echo elgg_view_entity($widget);
+
+?>
+
+ <script type="text/javascript" src="<?php echo $vars['url']; ?>pg/view/<?php echo $widget->getGUID(); ?>?view=js"></script>
+
+<?
}
?>