add genre in song search result

yannis
yannis
Offline
0
how add genre name in song search result ?
Responses (4)
  • Accepted Answer

    yannis
    yannis
    Offline
    Tuesday, December 11 2012, 10:12 AM - #Permalink
    0
    for Version 1.5
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, December 11 2012, 11:53 AM - #Permalink
    0
    well you need to add some code to retrieve and display this info in the search songs result page.. it's not something you can set by parameters...
    The reply is currently minimized Show
  • Accepted Answer

    yannis
    yannis
    Offline
    Tuesday, December 11 2012, 12:01 PM - #Permalink
    0
    ok, i try.. can you say me what is wrong with my code?




    params->get('showletternavigation')){
    echo MusColHelper::letter_navigation('');
    }
    ?>



    genre_list, $this->params->get('itemid')); ?>






    genre_list, $this->params->get('itemid')); ?>




    pagination->getResultsCounter(); ?>


    id && $this->params->get('displayplayer') ) || $this->params->get('displayplayer') == 2 ){ ?>
    player; ?>




    #








    pagination->limitstart + 1 ;
    $itemid = $this->params->get('itemid');
    if($itemid != "") $itemid = "&Itemid=" . $itemid;
    for ($i = 0, $n=count( $this->songs ); $i songs[$i]->id);
    $link_album = MusColHelper::routeAlbum($this->songs[$i]->album_id);
    $link_artist = MusColHelper::routeArtist($this->songs[$i]->artist_id);
    $genre_link = MusColHelper::get_genres_Id($this->songs[$i]->genre_id);
    $file_link = MusColHelper::create_file_link($this->songs[$i]);
    ?>


    songs[$i]->name; ?>
    songs[$i]->album_name; ?>
    songs[$i]->artist_name; ?>
    songs[$i]->genre_name; ?>
    id && $this->params->get('displayplayer')) || $this->params->get('displayplayer') == 2 ){ echo $this->songs[$i]->player; } ?>


    songs[$i]->filename != "" && $this->params->get('allowsongdownload')){
    if( $user->id || $this->params->get('allowsongdownload') == 2 ){ ?>

    JText::_("File available for registered users")));
    } ?>
    params->get('allowsongbuy') && $this->songs[$i]->buy_link != ""){ ?>buy_link; ?>" title="" target="_blank">


    trigger('onDisplaySongAlbum', array ($this->songs[$i]->id));
    ?>







    pagination->getListFooter(); ?>





    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, December 12 2012, 02:37 PM - #Permalink
    0
    sorry code can't be seen here...!
    The reply is currently minimized Show
Your Reply