0
Hi Germi,
i want to the Artist page the Albums be order by Date Added Descendant.
Latest added album to be firs in to the list. Now, latest added it is last in to the list.
Example:
http://www.geamalinga.eu/index.php/component/muscol/h/2-hrista-lupci
Can you help me ?
Best Regards,
VG
i want to the Artist page the Albums be order by Date Added Descendant.
Latest added album to be firs in to the list. Now, latest added it is last in to the list.
Example:
http://www.geamalinga.eu/index.php/component/muscol/h/2-hrista-lupci
Can you help me ?
Best Regards,
VG
Responses (15)
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0in geamalinga.eu/components/com_muscol/models/artist.php ,i edit the file artist.php and o change ORDER BY date_added DESC to all ORDER BY .... but nothing happned.
it is corect ? -
Accepted Answer
-
Accepted Answer
0I tried but i dont solve the problem.
please tell me exactly where i must change.
Thank you.
$query = ' SELECT al.id,al.name,al.image '. ' FROM #__muscol_albums as al '. ' LEFT JOIN #__muscol_format as f ON f.id = al.format_id '. ' WHERE al.artist_id = '.$this->_data[$i]->id . ' ORDER BY f.order_num, al.year, al.month'
or
for($i=0, $n = count($this->pdf_data); $i pdf_data[$i]->id;
$query = ' SELECT f.format_name,al.name,al.year,ar.artist_name,ar.letter '.
' FROM #__muscol_albums as al '.
' LEFT JOIN #__muscol_artists as ar ON ar.id = al.artist_id '.
' LEFT JOIN #__muscol_format as f ON f.id = al.format_id '.
' WHERE (al.format_id = '.$format_id.' OR f.display_group = '.$format_id.')'.
$and_letter .
' ORDER BY ar.letter,ar.class_name,al.year,al.month ';
If you can send me a file artist.php which is edited, it will be perfect :P -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0Dreamweaver is nice if you need a wysiwyg program. But you have to be really careful on it's settings. It has been known for "fixing" and rewriting code so that it breaks the pages.
A free alternative I like to use for editing code and as a replacement for notepad in general on windows is notepad++ You can find it at http://notepad-plus-plus.org/ -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
Your Reply

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »