This was actually an old module that I fixed, because well... It didnt work. lol
It was originally written to display the 10 most recent reviews but I changed it to find the 5 most recently writen reviews and then it displays them in a block.
If you want to change the # of diplayed reviews change this code:
|
Code:
|
$result = sql_query("select id, title from $prefix"._reviews." order by date DESC limit 0,5", $dbi); |
Change it to
|
Code:
|
$result = sql_query("select id, title from $prefix"._reviews." order by date DESC limit 0,10", $dbi); |
if you want 10 reviews, so on and so forth...
See it in action
HERE
Download it
HERE
so here you go, enjoy.