[TYPO3-dam] sorting download items by date

georg kuehnberger georg at georg.org
Sat Jul 28 14:52:59 CEST 2007


Nico Potvin wrote:
> Anyone?

apparently, not until you asked;
however I just tested your config and it works as advertized: that is it 
sorts the items per crdate instead of the default title;

I guess you'd better check the crdate values in tx_dam of the records 
you wanna display.

hth georg

> greets
> 
> nico
> On 23 Jul 2007, at 11:51, Nico Potvin wrote:
> 
>> HI,
>>
>> I am using dam_downloads to generate a downloads list.
>> but i would like to sort them by date. is this possible? and on what
>> DAM date field does it check creationdate or modified date ?
>> i have the following code in my ts:
>>
>> #DAM Downloads
>> plugin.tx_damdownloads_pi1 {
>>           pid = 31
>>           imgTypes = jpg, jpeg
>>           template = fileadmin/interfaces/we/template/
>> extension_templates/dam_av2_downloads.tmpl
>>           listView {
>>
>>         orderBy = ORDER BY crdate
>>
>>
>>         }
>>
>>
>>       }
>>
>> regards
>>
>> nico
>> -- 
>> Nico Potvin
>>
>> KAN Design
>> Antwerpen - Belgium
>> Phone: +32 (0)3 203 41 69
>> Fax: +32 (0)3 225 14 05
>> E-mail: nico.potvin at kandesign.com
>> http://www.kandesign.com
>>
>>
>>
>>
>> _______________________________________________
>> TYPO3-project-dam mailing list
>> TYPO3-project-dam at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-dam
> 
> -- 
> Nico Potvin
> 
> KAN Design
> Antwerpen - Belgium
> Phone: +32 (0)3 203 41 69
> Fax: +32 (0)3 225 14 05
> E-mail: nico.potvin at kandesign.com
> http://www.kandesign.com
> 
> 
> 
> 


More information about the TYPO3-project-dam mailing list