0
Hi,
so now i bought MC and i like what i see Thanks first of all for this great component (it is realy 25€ worth)
now i have 3 questions.
1. a few days ago i asked you for the option to add a menuitem for genre (can you help me now? for a small amount)
2. i installed the german language file (copied one in joomla/language/de_DE folder and the other in joomla/admin/language/de_DE folder but the component is still english :/ what did i wrong?
3. also a few days ago i asked you for the option to search in genre without enter a letter - you told me that this is possible. Maybe you can help me now like on point 1.
Thanks again for the great component and for your help!!
best regards
steffen
so now i bought MC and i like what i see Thanks first of all for this great component (it is realy 25€ worth)
now i have 3 questions.
1. a few days ago i asked you for the option to add a menuitem for genre (can you help me now? for a small amount)
2. i installed the german language file (copied one in joomla/language/de_DE folder and the other in joomla/admin/language/de_DE folder but the component is still english :/ what did i wrong?
3. also a few days ago i asked you for the option to search in genre without enter a letter - you told me that this is possible. Maybe you can help me now like on point 1.
Thanks again for the great component and for your help!!
best regards
steffen
Responses (6)
-
Accepted Answer
01 -> to create a link to a certain genre: create a new menu item, of type "external link". the link must be this:
index.php?option=com_muscol&view=search&search=songs&genre_id=1
just replace the genre_id for the id of the genre you want to point. you can see the id on the genres list (this link is for SONGS, not albums). for album, see point 3
2. it should work perfectly. do the files have the "de_DE" code on its filename? is the german language enabled??
3. this is the part that requires a (small) code modification. if you wnat this, contact me by mail, just as you did a few days ago
Germi -
Accepted Answer
-
Accepted Answer
0So there's only one thing to do. It's so simple that I won't charge you anything. you can do the modification yourself:
open file /components/com_muscol/models/search.php and go to line 325. you'll find this:
if ($keywords != ""){
(maybe the line is not exaclty 325... look near by)
all you have to do is replace it with:
if (true){
if you know some php, you'll see that all we are doing is replace the condition of "search only if the keywords are not empty" for "search always"
Thats all my friend. Now we can create the genre menu item for albums: very similar to the one for songs, but now for albums:
index.php?option=com_muscol&view=search&search=albums&genre_id=1
replacing the genre_if for whatever you want it to be.
easy, huh?
best,
Germi -
Accepted Answer
-
Accepted Answer
0Hi Germi,
first thank you so much for the modification and the great tutorial. I'm very happy now so thank you again for your quick help and your friendly mail!!
about the language - yes the fontend is set to german and the backend, too.
I installed this german language pack.
i can check at the moment only the backend because the site is "under construction".
I changed the language from german to english and back to german. The language of MC is still english :/
Its not a big Problem for me but it would be a nice if i know what the problem is. Maybe the language files wrong?
Best regards,
Phatair -
Accepted Answer
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 »