aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/elements/responses.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/river/elements/responses.php')
-rw-r--r--views/default/river/elements/responses.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/views/default/river/elements/responses.php b/views/default/river/elements/responses.php
index f1e79f131..8c5be6316 100644
--- a/views/default/river/elements/responses.php
+++ b/views/default/river/elements/responses.php
@@ -1,8 +1,18 @@
<?php
/**
* River item footer
+ *
+ * @uses $vars['item'] ElggRiverItem
+ * @uses $vars['responses'] Alternate override for this item
*/
+// allow river views to override the response content
+$responses = elgg_extract('responses', $vars, false);
+if ($responses) {
+ echo $responses;
+ return true;
+}
+
$item = $vars['item'];
$object = $item->getObjectEntity();