[TYPO3-english] t3blog - how to sort the blog list asc?

Loek Hilgersom loek at netcoop.nl
Sun Jan 8 13:42:22 CET 2012


Hi Stephen,
The way it's implemented is that you can only change the default order by using 
piVars:
orderBy (which should be a fieldname) and orderByDir (which can be ASC or DESC). 
I think the GET parameters should be like this:
&tx_t3blog_pi1[blogList][orderBy]=author

I gave it a try but it did not work here. There is no TypoScript configuration 
for this. You might have to dig further into the code to sort this out, check 
the method getOrderBy() in pi1/widgets/blogList/class.listFunctions.php

Loek


On 01/07/2012 11:40 AM, Stephen Bungert wrote:
> So that the oldest post are first in the list?
>
> I can't see how to do this. I tried looking through the manual.


More information about the TYPO3-english mailing list