Hello i have conversation plugin installed on elgg 1.7.8.
The autocomplete does no seem to work so i want to change it to dropdown. I was able to do it but i can't seem to get any friends to display in the dropdown menu. Below is my code
echo "To: " . elgg_view('input/dropdown', array('internalname' => 'receiver', 'internalid' => 'receiver', 'match_on' => 'friends'));
Please what is wrong?
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.
- Team Webgalli@webgalli
Team Webgalli - 0 likes
- New_age@Ejirefeedafe
New_age - 0 likes
- New_age@Ejirefeedafe
New_age - 0 likes
You must log in to post replies.there is no match_on parameter for dropdown view. You need to pass the value as an array. Take a look in the included messages plugin.
@Team webgalli thanks i just got it.
I edited input/autocomplete and changed pg/autocomplete to pg/livesearch and it worked.
I mean autocomplete now works so no need for dropdown