Dear All,
Please help me on how to display only the image uploads (FILE >> Image uploads action in the activity stream.
I got one solution that is i can display files but i need one more filter that is only to show the image uploads from file, please help me on this
//echo "<div style='border-color:#EEEEEE;border-width:1px; border-style:solid;' class=\"$widget_class elgg-widgets\" id=\"elgg-widget-col-$column_index\">";
echo "<div class=\"$widget_class elgg-widgets\" id=\"elgg-widget-col-$column_index\">";
?>
<div class="elgg-widget-handle clearfix"><h3><?php echo "Live Broadcasts"; ?></h3></div>
<?php
$num_items = $vars['entity']->num_items;
if (!isset($num_items)) $num_items = 30;
$widgtet_datas = elgg_view_river_items(0, $widget_group, '', 'object', array('file'), '', $num_items,0,0,false);
?>
<div class="contentWrapper">
<?php
if(isset($widgtet_datas)) {
echo $widgtet_datas;
}
?>
<?php
echo '</div>';
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Nikolai Shcherbin@rivervanrain

Nikolai Shcherbin - 0 likes
- jothirajan@jothirajan

jothirajan - 0 likes
- Nikolai Shcherbin@rivervanrain

Nikolai Shcherbin - 0 likes
- jothirajan@jothirajan

jothirajan - 0 likes
You must log in to post replies.Display Videos, Images and Other Media Files on Activity
Dear RvR,
Many thanks for your reply. I reviewed the reference site, but i need to filter and show only the FILE object and its Videos only. Anyone please help
I can get the FILE object only in the activity now, that is good :) but i need to filter again to have only the video uploads to show
You asked:
Now you talks about video LOL
Aboving totem explain about ALL uploaded media files, incl. images, videos etc
I asked ONLY image or video or audio. Anything that i can filter, there is nothing to LOL here :) i dont think totem will work....Anyway many thanks for your time