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]
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]
Responses (9)
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0sorry, 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 -
Accepted Answer
-
Accepted Answer
0Can 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] -
Accepted Answer
0hello,
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] -
Accepted Answer
-
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 »