BTW, the thewire_tools plugin does this a little smarter: they put the form before the river filter view, which is only displayed in the river. Identical output, less overhead on other pages.
@tomown There is an existing plugin: http://community.elgg.org/plugins/1250241/3.1/custom-activity
Thanks everyone, got it done.
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.