i'm looking at 'pages/river.php' and i see:
$sidebar = elgg_view('core/river/sidebar');
but that view is not in the view folder or anywhere that i can locate by searching?!
anyone know why?
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.
- ura soul@tunist

ura soul - 0 likes
- iionly@iionly

iionly - 0 likes
- ura soul@tunist

ura soul - 0 likes
You must log in to post replies.i've worked-round my reason for wanting to find this view now..
however, i still wonder where the view resides since it is being called explicitly!
I think this view does not exist by default. The reason it gets called in pages/river.php is to be able to include any custom content in the sidebar that you want to be displayed on the river page either by creating this view within your own plugin or simply by extending the core/river/sidebar view (you can extend an empty view, too).
oh ok, i experienced some confusion for a while since i was seeing the owner_block loading for the river page in the sidebar when viewing a 'friend's river' and didn't know how to prevent that. (i needed to set the page owner to be the logged in user).