mod to wire

By Burgs

 

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

$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? 

 

 

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking