phatair
phatair
Offline
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
Responses (6)
  • Accepted Answer

    Friday, August 14 2009, 05:14 PM - #Permalink
    0
    1 -> 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
    The reply is currently minimized Show
  • Accepted Answer

    phatair
    phatair
    Offline
    Friday, August 14 2009, 05:25 PM - #Permalink
    0
    Hi Germi,

    i sent you a mail with the "custom service".
    Thanks for this.

    About point 2

    yes the files have the de_DE code on its filename. I downloaded it from your site.
    where can i enable it (i know very stupid question) but i dont find any option for this

    Phatari
    The reply is currently minimized Show
  • Accepted Answer

    Friday, August 14 2009, 06:18 PM - #Permalink
    0
    So 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
    The reply is currently minimized Show
  • Accepted Answer

    Friday, August 14 2009, 06:19 PM - #Permalink
    0
    about language: on backend, go to extensions -> language manager.

    is Deutch the default language for the frontend?
    The reply is currently minimized Show
  • Accepted Answer

    phatair
    phatair
    Offline
    Friday, August 14 2009, 09:23 PM - #Permalink
    0
    Hi 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
    The reply is currently minimized Show
  • Accepted Answer

    phatair
    phatair
    Offline
    Friday, August 14 2009, 09:32 PM - #Permalink
    0
    I figure out what the problem is. The file of the backend language is misnamed. The file is named de_DE.com_muscol.ini the correct spelling is de-DE.com_muscol.ini
    Maybe you can correct this, this could solve some problem :)
    The reply is currently minimized Show
Your Reply