0
Hey,
For this page: http://www.madonna.nl/site/index.php?option=com_muscol&view=artists&Itemid=38 i want to adjust something.

When you put your mouse on of the pictures you see the title of the album.
I want to display the format when you hove aboe it with your mouse.

I think I need to adjust detailed_artists.php and then this piece of code on line 17 (album_>name)

But how do I do that? [file name=detailed_artist.zip size=627]http://www.joomlamusicsolutions.com/images/fbfiles/files/detailed_artist.zip[/file]
Attachments:
Responses (9)
  • Accepted Answer

    Monday, June 22 2009, 06:00 PM - #Permalink
    0
    hmm... I know what you mean, but in this link (artists view) there's no "title" element on the images...:S is there? I can't see it!! :)
    The reply is currently minimized Show
  • Accepted Answer

    Monday, June 22 2009, 06:05 PM - #Permalink
    0
    germi wrote:
    hmm... I know what you mean, but in this link (artists view) there's no "title" element on the images...:S is there? I can't see it!! :)


    Well I think there is... See the file attached!
    On line 17
    The reply is currently minimized Show
  • Accepted Answer

    Monday, June 22 2009, 06:06 PM - #Permalink
    0
    sorry, now I see that I didnt see it because you must have deleted it :lol:

    just, where you had array("title" => $album->name) (line 29, I guess)

    just put array("title" => $album->format_name)

    but now we need to load the format name, wich wasnt loaded. So open models/artists.php. Near line 129 you have:

    $query = ' SELECT al.id,al.name,al.image '.
    ' FROM #__muscol_albums as al '.
    ' LEFT JOIN #__muscol_format as f ON f.id = al.format_id '.
    ' WHERE al.artist_id = '.$this->_data[$i]->id .
    ' ORDER BY f.order_num, al.year, al.month'
    ;

    replace with:

    $query = ' SELECT al.id,al.name,al.image,f.format_name '.
    ' FROM #__muscol_albums as al '.
    ' LEFT JOIN #__muscol_format as f ON f.id = al.format_id '.
    ' WHERE al.artist_id = '.$this->_data[$i]->id .
    ' ORDER BY f.order_num, al.year, al.month'
    ;


    (notice that extra "f.format_name": we are loading the format name)

    and thats it :)
    The reply is currently minimized Show
  • Accepted Answer

    Monday, June 22 2009, 06:16 PM - #Permalink
    0
    The first code you are writing, I can't find it in artists.php....
    The reply is currently minimized Show
  • Accepted Answer

    Monday, June 22 2009, 06:24 PM - #Permalink
    0
    inside the function getData()
    The reply is currently minimized Show
  • Accepted Answer

    Monday, June 22 2009, 06:26 PM - #Permalink
    0
    Can I ask you if you can find it in the attached file and replace it with your new code?
    Normally I can can adjust everything you tell me, but this time I can't find it :blush:
    Hope you can help me! [file name=artists.zip size=1851]http://www.joomlamusicsolutions.com/images/fbfiles/files/artists.zip[/file]
    Attachments:
    The reply is currently minimized Show
  • Accepted Answer

    Monday, June 22 2009, 06:37 PM - #Permalink
    0
    hello,
    it is exactly at line 129...!!... anyway there you go... [file name=artists-04ab57819ee49860d72f51f448111843.zip size=1882]http://www.joomlamusicsolutions.com/images/fbfiles/files/artists-04ab57819ee49860d72f51f448111843.zip[/file]
    Attachments:
    The reply is currently minimized Show
  • Accepted Answer

    Monday, June 22 2009, 06:50 PM - #Permalink
    0
    Oops, you are so right :) And I did have my glasses on ;)

    Thank you so much! It is working!!! :woohoo: :woohoo: :) :)
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, June 23 2009, 07:27 AM - #Permalink
    0
    One last question! :)
    Is it also possible to show the country?

    So when you hover above a little image you get this:

    CD, Germany
    The reply is currently minimized Show
Your Reply