[opencms-dev] cms:contentload - date created needed instead of datemodified

Carl Alex Friis Nielsen cfn at kb.dk
Tue May 13 10:08:51 CEST 2008


Hello,

If you can get the desired date to the collector.date property the allInFolderPriorityDateAsc
collector might do the job for you.

If you want to create your own collector download the OpenCms source

Cheers,

Carl

> -----Original Message-----
> From: opencms-dev-bounces at opencms.org
> [mailto:opencms-dev-bounces at opencms.org]On Behalf Of Marc Schlegel
> Sent: Saturday, May 10, 2008 3:30 AM
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] cms:contentload - date created needed 
> instead of
> datemodified
> 
> 
> Hello Everyone
> 
> I am having a problem with a contentload-tag because it is 
> loading the 
> elements according to their modified date (so´, the last 
> modified is the 
> first in the list) but I need to have the last created 
> element to be the 
> first one
> 
> I am using the "allInFolderDateReleasedDesc" collector 
> because I thought 
> this one provides this functionality. How can I achieve this? 
> If I need 
> to create my own collector, how can I do this (and use it in the tag)?
> 
> best regards
> -- Marc
> 
> 
> 
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, 
> please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
> 


More information about the opencms-dev mailing list