Hi All,
i tried to Add the Arabic Letters alongside the English one. Cause in my case i have some members that use Arabic names, so i have to add the arabic letters to give the abbility to pick them out,
any way, after doing so, in IE it shows the letter each on a line with friends under each letter in a corect way but without js visual effact,
in Firefox, it shows the container with Visual effect and the first letter showing the friends within it and sort the leters above but when you navigate between letters nothing happen just stay one the first letter,
in chrome, it shows the container with Visual effect and the first letter but not showing the friends within it and sort the leters above and when you navigate between letters nothing show up at all .
and also notice that the page extend on its width like 2000 px or more because of the arrows buttom, may be it is because i mirrored all the css file to make it RTL Arabic site.
so ... can anyone guide me where to start to fix this mess, or is there anyway to replace the friends picker with less advanced fetuers to make it work ??
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.
- Alexander Leschinsky@lazybadger
Alexander Leschinsky - 0 likes
- Alexander Leschinsky@lazybadger
Alexander Leschinsky - 0 likes
- In mod/notifications/views/default/notifications/subscriptions/forminternals.php fix string
- In views/default/friends/picker.php replace
- Brett@brett.profitt
Brett - 0 likes
- Alexander Leschinsky@lazybadger
Alexander Leschinsky - 0 likes
- Cash@costelloc
Cash - 0 likes
- Blue@OnlyBlue
Blue - 0 likes
- Susan Tsairi@openid_482
Susan Tsairi - 0 likes
You must log in to post replies.Can you show your site?
At least you must
1. Modify views/default/page_elements/header.php for RTL and add
dir="rtl"
into opening <html tag
2. Extend 'friendspicker:chararray' in lang-file for you language with your alphabet
3.
$letter = strtoupper(mb_substr($user->name,0,1));
to
$letter = mb_strtoupper(mb_substr($user->name,0,1));
$letter = strtoupper(mb_substr($user->name,0,1));
to
$letter = mb_strtoupper(mb_substr($user->name,0,1));
The current user picker is inadequate in many ways, not least of which is its internationalization. There are plans to improve it, but not until 1.8.
Brett, I know, but if anybody (include me) have to use it now - it must be at least free from bugs
In picker.php str* functions not wrapped and, as I wrote, missing 1 mb_ call
@Alexander - when you come across these bugs, best to open a bug report on Trac: http://trac.elgg.org/
@Brett
I have installed the Elgg 1.8 svn. The user picker is same as the one in Elgg 1.7. I hope it will be a i18n version.
@Alexander I'm going to try what you suggest here, until now I've been leaving the friend picker LTR as I noticed the same problems as @alysami with RTL