aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/views/default/river/object
diff options
context:
space:
mode:
Diffstat (limited to 'mod/blog/views/default/river/object')
-rw-r--r--mod/blog/views/default/river/object/blog/create.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/mod/blog/views/default/river/object/blog/create.php b/mod/blog/views/default/river/object/blog/create.php
new file mode 100644
index 000000000..a054c1061
--- /dev/null
+++ b/mod/blog/views/default/river/object/blog/create.php
@@ -0,0 +1,13 @@
+<?php
+/**
+ * Blog river view.
+ */
+
+$object = $vars['item']->getObjectEntity();
+$excerpt = strip_tags($object->excerpt);
+$excerpt = elgg_get_excerpt($excerpt);
+
+echo elgg_view('river/elements/layout', array(
+ 'item' => $vars['item'],
+ 'message' => $excerpt,
+)); \ No newline at end of file