Customising the letters on the member list
Submitted Mark, Dec 07 2009 01:00 PM | Last updated Jun 14 2010 03:59 AM
The member list contains tabs along the top to view members whose names begin with a certain character.
It is possible to customise this, if for example, your community's primary language is not English.
Go to Admin CP --> Look & Feel and click on your default skin (for example "IP.Board"). From the left side menu, select "Member List" and then "member_list_show" - a codebox will open on the right.
In that codebox, find:
You need to replace this with:
Of course, inserting the list of letters you wish (separated by commas, and each one enclosed in quotes).
For example, to add umlauted characters, you would use:
It is possible to customise this, if for example, your community's primary language is not English.
Go to Admin CP --> Look & Feel and click on your default skin (for example "IP.Board"). From the left side menu, select "Member List" and then "member_list_show" - a codebox will open on the right.
In that codebox, find:
<foreach loop="chars:range(65,90) as $char"> <if test="letterdefault:|:$letter = strtoupper($char)">
You need to replace this with:
<foreach loop="array( LIST OF LETTERS GO HERE ) as $char"> <if test="letterdefault:|:$letter = $char">
Of course, inserting the list of letters you wish (separated by commas, and each one enclosed in quotes).
For example, to add umlauted characters, you would use:
<foreach loop="array( 'A', 'Ä', 'B', 'C', 'D', 'E', 'Ë', 'F', 'G', 'H', 'I', 'Ï', 'J', 'K', 'L', 'M', 'N', 'O', 'Ö', 'P', 'Q', 'R', 'S', 'T', 'U', 'Ü', 'V', 'W', 'X', 'Y', 'Z' ) as $char"> <if test="letterdefault:|:$letter = $char">











0 Comments