All lyrics of an album

Luca
Luca
Offline
0
Hi..
I need to have a page with all lyrics of an album.
How can I do this?
Responses (11)
  • Accepted Answer

    Monday, May 04 2009, 08:18 PM - #Permalink
    0
    mm... manually...
    is the only way.. create a normal content item in joomla...

    or maybe copy all the lyrics into the review of an album..

    why you want such a thing? not very usual..
    The reply is currently minimized Show
  • Accepted Answer

    Luca
    Luca
    Offline
    Monday, May 04 2009, 08:37 PM - #Permalink
    0
    Before my site was set as follows:

    - Artist page with a list of his albums
    - A page for each album that contained the list of tracks and all the lyrics for that album.

    So some users of my site have asked me if it was still possible to have the lyrics divided by album.

    Would it be possible to do this by making amendments to the Code of Music Collection?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, May 05 2009, 03:32 PM - #Permalink
    0
    sure, all can be done making amendements to he code. in fact in this case is quite simple: in your case, we already loaded al lthe lyrics from the songs of an album into album's page. remember? to make the songs with no lyrics to have NO link... this is the thread where we discuted this:
    http://www.joomlamusicsolutions.com/en/forum/suggestions/songs-on-keith-2.html#588

    so, all you have to do is open components/com_muscol/views/album/tmpl/default.php

    from line 93 to line 114 there is the bucle where all the songs are printed.

    to print the lyrics of the song, just remember that the lyrics are located on the variable $song->lyrics

    easy, huh? :)

    I hope this is what you want
    The reply is currently minimized Show
  • Accepted Answer

    Luca
    Luca
    Offline
    Tuesday, May 05 2009, 10:15 PM - #Permalink
    0
    Thanks Germi.
    I think I have understood everything .. I think it easy to do. But I want to create another page so I can leave both the separate texts that give the possibility to have all the lyrics of an album in another page. I would like to put a link on the page of an album that takes for example the all-lyrics.html page where you can find all the texts together. Do you think you can do so? I will make you know in a few days if I could make the changes because at the moment I can not.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, May 06 2009, 09:01 AM - #Permalink
    0
    yes, that can be done, but will take a little more work

    in fact all you have to do is to create a new LAYOUT for the album view and then link it from the default

    well, let me know when you're ready and I explain it to you step by step :)
    The reply is currently minimized Show
  • Accepted Answer

    Luca
    Luca
    Offline
    Tuesday, May 12 2009, 09:11 AM - #Permalink
    0
    Hi Germi..

    I'm ready, can you explain me step by step?

    Thanks :)
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, May 12 2009, 03:55 PM - #Permalink
    0
    ok, let's try it, step by step

    1 - copy the file components/com_muscol/views/album/tmpl/default.php and paste it in the SAME FOLDER renaming it to.... "all_lyrics.php", for instance

    2 - open this new file "all_lyrics.php". The loop of the songs is in line 87 (or near it). add the "echo $song->lyrics" sentence wherever you want it to show up. Remove all the info you DONT want to show up in this "only lyrics" page (for instance, album review, etc). I'm saying all this in a quick way, because I think you quite understand the structure of the file, right? :)

    3 - open the original default.php file and add this sentence wherever you want the link to the "only lyrics" page to be (inside php tags!):

    $lyrics_link= JRoute::_( 'index.php?option=com_muscol&view=album&id='. $this->album->id . '&layout=all_lyrics' . $itemid);

    and then this (outside php tags!):

    View all lyrics of this album

    sorry for the blankspace, remember to not add those (is just that if I write the sentence the way it is, the forum clean strings script is gonna delete it ;) )

    I think thats it!

    tell me if you understand and if it works
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, May 12 2009, 04:00 PM - #Permalink
    0
    damend. it stripped the tags anyway.
    there where you read

    View all lyrics of this album

    on the previous post, it is suposed to be an "a" html tag, and you have to "echo $lyrics_link;" on the href

    you know what I mean?
    The reply is currently minimized Show
  • Accepted Answer

    Luca
    Luca
    Offline
    Tuesday, May 12 2009, 06:57 PM - #Permalink
    0
    Germi Thanks! I think I understood everything, now I can make some test and then I will know if everything went well. :)

    PS. It works fine.. thank you Germi :)
    The reply is currently minimized Show
  • Accepted Answer

    Luca
    Luca
    Offline
    Sunday, August 30 2009, 10:37 PM - #Permalink
    0
    Hi Germi..
    Can you tell me what changes have been made in this file: /com_muscol/views/album/tmpl/default.php?

    I ask because I want to make the same changes to the file all-lyrics.php that I created from your default.php. You remember?

    Thank you and congratulations for the new version! ;)
    The reply is currently minimized Show
  • Accepted Answer

    Monday, August 31 2009, 09:32 AM - #Permalink
    0
    uf.. I cant tell you all the exact changes...

    basically these are:

    - new button to download full album
    - new button to link to an external page to buy the album
    - new button to link to an external page to buy each song
    - the link to download the songs has been improved
    - new hits counter at the bottom of the page
    - new call to JomComment system i enabled
    - new footer "Powered by Music Collection" ;)

    and maybe something else...
    The reply is currently minimized Show
Your Reply