[TYPO3] How to reverse tt_product list order
Nguyen Duc Hung
hungnd at ise.com.vn
Fri Jul 7 09:22:50 CEST 2006
Liu Jiansong wrote:
> Hi all,
> The default tt_product list view is orderBy=pid
> Product [pid=1]
> Product [pid=2]
> Product [pid=3]
> ...
> Product [pid=n]
>
> I want it display the list reversed, the newest product show first,
> Product [pid=n]
> ...
> Product [pid=3]
> Product [pid=2]
> Product [pid=1]
>
> Is there a way to reverse the order ?
> Thanks a lot.
>
You find the file class_tt_product which contain tt_porduct/pi . Change
the query from 'ASC' to DESC .
More information about the TYPO3-english
mailing list