Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • David Porré Friend
    #207252

    Hello,

    It seems impossible to set the hour in the event start and finish dates, wich is a problem as countdown has minutes and second. How could I get this fixed ?

    Even if I try to set the hour manually to have a format like : 0000-00-00 00:00:00
    it comes back to : 0000-00-00 after saving item.

    Hoping for answer,
    Best regards,
    David aka Shapes

    David Porré Friend
    #573732

    OK, I have a solution here.

    I checked templates/ja_charity/contenttype/types/event.xml

    and changed :
    <field name=”ctm_start”
    type=”calendar”
    label=”PLG_JACONTENT_TYPE_START_TIME_LABEL”
    description=”PLG_JACONTENT_TYPE_START_TIME_DESC”/>

    to :
    <field name=”ctm_start”
    type=”calendar”
    format=”%Y-%m-%d %H:%M:%S”
    description=”PLG_JACONTENT_TYPE_START_TIME_DESC”/>

    Seems to work nice !

    Hope this can help other people.
    Best regards,
    David aka Shapes

    David Porré Friend
    #738746

    OK, I have a solution here.

    I checked templates/ja_charity/contenttype/types/event.xml

    and changed :
    <field name=”ctm_start”
    type=”calendar”
    label=”PLG_JACONTENT_TYPE_START_TIME_LABEL”
    description=”PLG_JACONTENT_TYPE_START_TIME_DESC”/>

    to :
    <field name=”ctm_start”
    type=”calendar”
    format=”%Y-%m-%d %H:%M:%S”
    description=”PLG_JACONTENT_TYPE_START_TIME_DESC”/>

    Seems to work nice !

    Hope this can help other people.
    Best regards,
    David aka Shapes

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 1 voice, and was last updated by  David Porré 9 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum