I want to display a listing of users with checkboxes next to them. Ideally I could make a "wrapper" view that's used instead of user/default and that view would render the checkbox and pass $vars['entity'] on to the user/default view.
I know I could extend/override the user/default view, but it seems overkill since this very infrequently needed.
What's the easy way to do this?
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.
- Steve Clay@steve_clay
Steve Clay - 0 likes
- Matt Beckett@Beck24
Matt Beckett - 0 likes
You must log in to post replies.One idea: right before drawing the listing I register a handler for [view, user/default] then unregister it afterwards.
I've done that a few times and I think I've used the wrapper view method. I think the plugin hook register/unregister is overcomplicating it