ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Sort entrys by datepicker date

June 20, 2012 7:29am

Subscribe [1]
  • #1 / Jun 20, 2012 7:29am

    Kaspar

    30 posts

    Hi I have made a Channel for a Concert list.

    My client can choose the date via the standard ee datepicker fieldtype.

    Now I want to sort the entryies after the date of this fieldtype. Right now it is sorted by the channel entry date. But that is not useful because the the concerts won’t come in a regular succession.

    Is there something like.

    {exp:channel:entries channel="concerts" sort="datepicker|desc"}

    So how can I do this?
    Thanks for your help.

  • #2 / Jun 20, 2012 1:03pm

    Bhashkar Yadav

    727 posts

    {exp:channel:entries channel="concerts" orderby="datepicker" sort="desc"}

     

  • #3 / Jun 21, 2012 3:05am

    Kaspar

    30 posts

    Hi Bhashkar.

    Thanks.

    Yet I have already a next problem. All entrys from october to the future are shown one hour too early. Why is that? Has this something to do with the daylight savings time adjustment?

  • #4 / Jun 21, 2012 3:33pm

    Bhashkar Yadav

    727 posts

    Hi Kaspar,

    I am not fully sure about this issue but yes it could be due to daylight savings time. You should make proper setting from CP for “Localization Settings”.


    Best Regards,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases