- Posts: 2
Postings
You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).
Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!
Alphabetized index for names with umlaut letters
- ertuncb
-
Topic Author
- New Member
-
Less
More
IP: 78.187.45.238
14 years 1 month ago #1019
by ertuncb
Alphabetized index for names with umlaut letters was created by ertuncb
Thanks for the great component. It works welll.
The component is worth every penny.
Bu I have one problem.
I am using the component on a website with Turkish language and want to use the "Alphabetized index" feature.
Our alphabet contains some letters (like 'Ç', 'Ü', 'Ö', 'Ş', 'İ') which are not available in the English Alphabet. There are also some letters we do not have. (like 'Q', 'W', 'X')
So I thought at the beginning it will be enough to change the code in 'function getAlphabetLinks'. But because it creates only the links, my attempt was unsuccessful.
I know, this feaute is in experimental phase. But is there a way to use umlaut letters ?
We have many person names beginning with these letters, so we can't use "Alphabetized index" feature. IT will be great to use this function in our web site.
Regards,
Bahri
(attached you can see the change and letters I have added)
The component is worth every penny.
Bu I have one problem.
I am using the component on a website with Turkish language and want to use the "Alphabetized index" feature.
Our alphabet contains some letters (like 'Ç', 'Ü', 'Ö', 'Ş', 'İ') which are not available in the English Alphabet. There are also some letters we do not have. (like 'Q', 'W', 'X')
So I thought at the beginning it will be enough to change the code in 'function getAlphabetLinks'. But because it creates only the links, my attempt was unsuccessful.
I know, this feaute is in experimental phase. But is there a way to use umlaut letters ?
We have many person names beginning with these letters, so we can't use "Alphabetized index" feature. IT will be great to use this function in our web site.
Regards,
Bahri
(attached you can see the change and letters I have added)
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 207.229.131.129
14 years 1 month ago #1021
by admin
Olivier.
Replied by admin on topic Re: Alphabetized index for names with umlaut letters
Thank you Bahri.
You raised a very good point, I will try and find a solution for this situation in the next few days. If the alphabet is something you need rapidly and if your list of contacts is not too big and the situation allows for it, there is a possible workaround: create categories 'A', 'B'... for all the letters you need, order your contacts into them and use the directory feature of the component. This may be a little overkill, I am definitely looking into the problem nonetheless.
You raised a very good point, I will try and find a solution for this situation in the next few days. If the alphabet is something you need rapidly and if your list of contacts is not too big and the situation allows for it, there is a possible workaround: create categories 'A', 'B'... for all the letters you need, order your contacts into them and use the directory feature of the component. This may be a little overkill, I am definitely looking into the problem nonetheless.
Olivier.
The following user(s) said Thank You: ertuncb
- ertuncb
-
Topic Author
- New Member
-
Less
More
- Posts: 2
IP: 78.187.45.238
14 years 1 month ago - 14 years 1 month ago #1022
by ertuncb
Replied by ertuncb on topic Re: Alphabetized index for names with umlaut letters
Thanks you your suggestion.
The web site has now over 200 members and its growing. Besides we have other member tables to maintain like CB. This solution will not be manageable for us.
But what about adding a parameter in to the interface where we can but our alphabet ? The default string value of this parameter could be the English alphabet from A to Z without any seperator. The program can loop on this string, create a link on the bottom of the page for every letter, and search the contacts table for records beginning with this letter.
It will be also flexible, so we can limit the display to specific letters. For example when I put 'ABCD' in to this parameter, the code can only filter out the records beginning with A, B, C & D.
I know, it's a lot of hard work for you to do this. But this can be a universal solution which can be used for any alphabet, with any number of letters.
Thanks again.
Regards,
Bahri Ertunç
The web site has now over 200 members and its growing. Besides we have other member tables to maintain like CB. This solution will not be manageable for us.
But what about adding a parameter in to the interface where we can but our alphabet ? The default string value of this parameter could be the English alphabet from A to Z without any seperator. The program can loop on this string, create a link on the bottom of the page for every letter, and search the contacts table for records beginning with this letter.
It will be also flexible, so we can limit the display to specific letters. For example when I put 'ABCD' in to this parameter, the code can only filter out the records beginning with A, B, C & D.
I know, it's a lot of hard work for you to do this. But this can be a universal solution which can be used for any alphabet, with any number of letters.
Thanks again.
Regards,
Bahri Ertunç
Last edit: 14 years 1 month ago by ertuncb.
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 207.229.131.129
14 years 1 month ago - 14 years 1 month ago #1024
by admin
Olivier.
Replied by admin on topic Re: Alphabetized index for names with umlaut letters
I will consider this option. Thank you for the suggestion! I was thinking more about automatically generating the alphabet from the list of contacts selected, therefore showing only the necessary letters. The difficulty here is to take into account the order in which the contacts have to be shown...
Olivier.
Last edit: 14 years 1 month ago by admin.
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 207.229.131.129
14 years 1 month ago #1027
by admin
Olivier.
Replied by admin on topic Re: Alphabetized index for names with umlaut letters
I have implemented your solution (now the alphabet can be customized and can be extended, for instance one can enter 'A Ba Be C D').
Would you like to test this solution? It is part of a major update (Joomla! 3.X compatibility). Send me your email address at [email protected] and I will be happy to send you the file. What theme are you using?
Would you like to test this solution? It is part of a major update (Joomla! 3.X compatibility). Send me your email address at [email protected] and I will be happy to send you the file. What theme are you using?
Olivier.
