0
Hi Germi,
I have a little problem. I would need for the letter bar to show croatian letters. Croatian letters are a normal alphabet we just have 5 special characters.
I know that I would have to change helpers.php file, but as I have read on the forum there might be a problem if there are more than 26 letters.
I've read this topic http://www.joomlamusicsolutions.com/en/forum/music-collection-extensions/how-to-have-a-z-bar-in-russian-3.html, but as I can see it's not resolved yet. At least, the number of characters part of the problem.
Could you please advise me what to do. To put it simple I just need to put 5 more characters in the array.
Thanks in advance
I have a little problem. I would need for the letter bar to show croatian letters. Croatian letters are a normal alphabet we just have 5 special characters.
I know that I would have to change helpers.php file, but as I have read on the forum there might be a problem if there are more than 26 letters.
I've read this topic http://www.joomlamusicsolutions.com/en/forum/music-collection-extensions/how-to-have-a-z-bar-in-russian-3.html, but as I can see it's not resolved yet. At least, the number of characters part of the problem.
Could you please advise me what to do. To put it simple I just need to put 5 more characters in the array.
Thanks in advance
Responses (13)
-
Accepted Answer
0well. the problem with the new letters is that I'm not sure that the URL can handle these characters.
I mean, I think that "officialy" URL can have these kind of characters since a few time ago, but I'm not so sure of this will always work.
so, first thing is... have you tried to just put these extra letters on the helpers.php file?
of course, you'll also need to put them on the
/administrator/components/com_muscol/views/artist/tmpl/form.php to be able to choose these characters when saving an artist.
PS: do you have a croation translation for Music Collection? if you do, we'd really be happy if you want to share it with us! -
Accepted Answer
0Hi Germi,
Thanks for the quick response.
Ok so I have tried to just add the letters. In principle it works, but it does have some problems:
1. I have just one letter I've added in the "select letter" dropdown menu in the backend. That is not a big problem.
2. One of the letters I've added shows up at the end of the list instead of being 6th letter from the beggining. That is a bit problematic.
3. When I assign a letter to an artist and save it, it works fine, except that when I try to edit that artist the letter is not showing up, and I have to select it again.
Can you help me with these issues?
As far as the URLs goes, I don't understand what you mean. Do you mean URLs when I have SEF enabled? If that is the case I don't plan to have SEF enabled anyway so that is not a problem.
All the links to the artist pages work fine.
About the Croatian translation, no problem, I will just need some time, I have most of the frontend translated, but haven't translated anything in the backend. I will send you the translation as soon as I have everything translated. -
Accepted Answer
01 - dont understand...
2 - well, you need to put it on 6th position of course!
3 - hmm... well.. that was my biggest fear. that is what I told you, I wasnt sure if these characters would be handled correctly on the database... in wich file you added the letters?
no, I didnt meant SEF... just meant that this:
&letter=A
is correct on an URL, but this:
$letter=ç
(ç being an "strange" char), I'm not so sure...
about the croatian translation: there's no need to translate the backned if you dont want, just the frontend is enough but both would be of course fantastic
Germi -
Accepted Answer
0germi wrote:
1 - dont understand...
In the backend when you click on artists, you get the table with artists names and letters assigned to them. On the right hand side you have dropdown menu it says "select letter". New letters don't show up in that dropdown menu.
2 - well, you need to put it on 6th position of course!
It is on the 6th position in the array but it shows up last when I list the artists. Other letters show up fine, at their respective positions.
3 - hmm... well.. that was my biggest fear. that is what I told you, I wasnt sure if these characters would be handled correctly on the database... in wich file you added the letters?
I've added letters at helpers.php file and form.php file.
no, I didnt meant SEF... just meant that this:
&letter=A
is correct on an URL, but this:
$letter=ç
(ç being an "strange" char), I'm not so sure...
This is not a problem, you helped me while ago with those letters, I don't have the usual setup of the script. It looks like this:
http://hitrecords.apertemedia.hr/index.php?option=com_muscol&view=artists&layout=detailed&Itemid=6
As you can see, I don't click on the letters at all so I don't have to worry about that.
about the croatian translation: there's no need to translate the backned if you dont want, just the frontend is enough but both would be of course fantastic
I will translate it all, you have a great script here and I want to make a contribution.
Germi -
Accepted Answer
-
Accepted Answer
0Hi,
just wanted to let you know that I've found the solution for the letters not being in the right order.
I had to change collation in the table jos_muscol_artists in the field letter. The collation that works is latin2_croatian_ci. UTF 8 doesn't order croatian letter properly.
Hope this helps someone. -
Accepted Answer
0Greetings,
I know this is an old thread, but I have this problem described above (and with Croatian letters too
I managed to include these letters to show right on site http://www.soundguardian.com/recenzije-glazbenih-izdanja/artists/detailed ... but when I click for example Č or Ć ... they both lead to .../artists/c ... so I cant list artist that have names with Croatian letters
I guess this is because SEF component is enabled
Is there a way to solve this problem...
Thanks,
Sasa -
Accepted Answer
0Again me as subscriber:
I know this is an old thread, but I have this problem described above (and with Croatian letters too
I managed to include these letters to show right on site http://www.soundguardian.com/recenzije-glazbenih-izdanja/artists/detailed ... but when I click for example Č or Ć ... they both lead to .../artists/c ... so I cant list artist that have names with Croatian letters
I guess this is because SEF component is enabled
Is there a way to solve this problem... -
Accepted Answer
0There they are: http://www.soundguardian.com/recenzije-glazbenih-izdanja/artists/detailed
whether you press letter "Š" or "S" it shows the same artists.-
Germinal Campsmore than a month agowhat happens if you disable SEF?
-
-
Accepted Answer
0When I disable SEF component, still it doesn't work.
In administration, I changed one artist name and last name to start with Š... and selected Š from drop down
... but in frontend it lists this artist under S.... no matter if SEF is turned on or off
And if user „svarmuza2“ could join conversation it would be great cause he is our administrator.
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »