Jump to content

* * * - -

Customising the letters on the member list

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:
<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">


Mensa Sweden
Apr 03 2014 06:27 AM

This only partly solves the problem. The initial listing of ALL will sort using the default chars:range(65,90)

Developer Docs · Error Codes