mod to river_activity_3C


I've tweeked the excellent river_activity_3C  plugin and added the wire into a module for the sidebar and this is the code I've used...

$title = elgg_echo('river_activity_3C:wire');

$content .= elgg_view_form('thewire/add');

$box_view = elgg_get_plugin_setting('view_riverbox', 'river_activity_3C');


echo elgg_view_module($box_view, $title, $content);

It works great on the activity page and I have included that module on the sidebar of other elgg pages. On these other pages the message is posted on the river but no system message appears to say that it was posted successfully and the character countdown from 140 doesn't work. How can I make it work properly? 

  • you can extened views of wire form to sidebar easily from river_activity_3C it self..

    after line no 120 in start.php add this line elgg_extend_view('page/elements/sidebar', 'page/elements/wire','200');

    you can view the form submission in side bar of every page...