how can i show similar listings newest first,
right now by default it show oldest first.
Printable View
how can i show similar listings newest first,
right now by default it show oldest first.
anybody can help with this one ???
Hello Samir,
By default you can configure the ordering by category and relevance only via admin panel.
http://forum.flynax.com/attachment.p...tid=2038&stc=1
Or you change it harcoded in file: \plugins\similarListings\rlSimilarListings.class.p hp
1. open it in 183 row:
http://forum.flynax.com/attachment.p...tid=2039&stc=1
2. and try change it to following:
http://forum.flynax.com/attachment.p...tid=2040&stc=1
Thank you very much, this works perfect
Hello, how to sale to sale, rent to rent related for this plugin?
Best Regards,
That's better
$sql .= "GROUP BY `T1`.`ID` ";
}
if( $config['sl_relevance_mode'] && $relevance_built )
{
$sql .= "ORDER BY `relevance` DESC , `T1`.`Date` DESC ";
}
else
{
$sql .= "ORDER BY RAND() ";
}
if( $config['sl_listings_in_box'] )
Attachment 4936