Latest Songs Added Module?

gokhan
gokhan
Offline
0
Is any module for latest songs added available?
Thanks.
Responses (11)
  • Accepted Answer

    wael
    wael
    Offline
    Tuesday, September 14 2010, 09:35 AM - #Permalink
    0
    I guess there is no such module yet, but I use the search menu item (songs layout) , it works fine for me, as it displays the latest songs add to the site.
    The reply is currently minimized Show
  • Accepted Answer

    gokhan
    gokhan
    Offline
    Friday, September 17 2010, 10:06 AM - #Permalink
    0
    Thanks for contributing, I'll try.
    The reply is currently minimized Show
  • Accepted Answer

    wael
    wael
    Offline
    Wednesday, September 22 2010, 01:10 PM - #Permalink
    0
    But I wish if someone know how to make the newest songs on top, as for now it displays oldest songs on top which means the page will look not updated all the time.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, September 23 2010, 03:41 PM - #Permalink
    0
    if you know some mysql (very simple) you can do this yourself...

    you just need to add something in the ORDER BY sentence. I think its near line 156 on file /components/com_muscol/models/search.php

    you find this:

    ORDER BY s.artist_id, al.year, al.month, al.id, s.disc_num,s.num

    just replace it for:

    ORDER BY s.added, s.artist_id, al.year, al.month, al.id, s.disc_num,s.num

    but.. ONLY IF YOU KNOW WHAT YOUR DOING!!!!! ;) :) :)
    The reply is currently minimized Show
  • Accepted Answer

    wael
    wael
    Offline
    Wednesday, September 29 2010, 09:15 PM - #Permalink
    0
    I did exactly what you said, but still not working, the old songs still on top, any idea why? Or what I did wrong? I replaced the line “order by” in /components/com_muscol/models/search.php
    The reply is currently minimized Show
  • Accepted Answer

    widik
    widik
    Offline
    Thursday, September 30 2010, 07:49 PM - #Permalink
    0
    And such module is necessary to me why it yet have not let out?
    I have bought one year ago your component even have made a translation into German and have given it to you for the publication but the necessary modules those that were necessary to me I and has not waited

    Now there is already version 2 and has passed so much a lot of time and the module of new songs did not leave yet
    Tell you and when differently I do not see sense plan it to make to put your component
    I thank for earlier for the answer
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, October 02 2010, 03:28 PM - #Permalink
    0
    @wael

    mmm please try again with this one:

    ORDER BY s.added DESC, s.artist_id, al.year, al.month, al.id, s.disc_num,s.num
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, October 02 2010, 03:29 PM - #Permalink
    0
    @widik we'll make this module public very soon. I'll let you know! please stay tunned!
    The reply is currently minimized Show
  • Accepted Answer

    wael
    wael
    Offline
    Wednesday, October 06 2010, 09:04 AM - #Permalink
    0
    Thanks, work like a charm. But I have a little concern, in paginating it displays the first 20 song correctly, but when I click on 2 or next to see the other 20 song form 21 to 40, it counts from the beginning which means that the song 21 is counted as 1. also when I click on 3 to see songs form 41 to 60, it counts form the beginning and make song 41 displayed as 1 and 42 displayed 2 and so on. Please advice.
    The reply is currently minimized Show
  • Accepted Answer

    wael
    wael
    Offline
    Wednesday, October 06 2010, 09:51 AM - #Permalink
    0
    Also can I control to display 30 instead of 20 buy default, because I need the page to be taller?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, October 07 2010, 03:37 PM - #Permalink
    0
    hello!

    the numbering issue its actually not a problem, its just the way it work.. (there's a nother thread on the forum about this, precisely), but seeing that some of you think its a problem, we'll fix it for next version! :)

    the pagination limit is taken from Joomla's global configuration (see your admin cpanel) so you can change it there. do you know what I mean?
    The reply is currently minimized Show
Your Reply