Hi,
don't know if this problem is just for me...
If I have pulldown with "Value=yes_i_am" and "Label=Yes I am", then on profile page it shows correctly label (Yes I am), but on Members page (mod/members/index.php), where its as a tag, it shows not label, but value (yes_i_am). On members page i use this code:
$info .= elgg_view("output/tags",array('value' => $vars['entity']->yes_i_am));
any ideas where is the problem? And sorry for my english ;]
my elgg 1.7.5
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.
- Kevin Jardine@kevin
Kevin Jardine - 0 likes
- witepskas@witepskas
witepskas - 0 likes
- Kevin Jardine@kevin
Kevin Jardine - 0 likes
You must log in to post replies.Labels only work within the form and related plugins. The member plugin is not one of those and was not written by me. You could just put your labels in your values and then they would work everywhere..
Thanks for your answer, I was thinking about putting labels in values, but its just not the best solution for multilingual site, but thanks anyway :]
Another option would be to rewrite the plugin views that need the label feature.