Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Brian Olsen 143 posts 424 karma points
    Aug 07, 2013 @ 11:48
    Brian Olsen
    0

    Created date field

    The Created date field is a standard field in umbraco, is it possible to turn it into a field one can change???

  • Kevin Jump 2343 posts 14890 karma points MVP 8x c-trib
    Aug 07, 2013 @ 14:06
    Kevin Jump
    0

    Hi I don't think you can change the nature of the Created Data Field but you could add your own DataTime field to your datatype - if this date was set then you could check it in code and use it in place of a create date for your site.

  • Brian Olsen 143 posts 424 karma points
    Aug 07, 2013 @ 14:22
    Brian Olsen
    0

    Hi Kevin,

    what I want is a data type that can take the current date when you create the page, so you do not have to enter it yourself but you can change it if you will,

    I can not find any data types that can do it, do you know of a data type can do that???

  • Amir Khan 1287 posts 2744 karma points
    Aug 07, 2013 @ 16:47
    Amir Khan
    0

    You could check for the value of the second date time datatype, if its null use the create date, if not use the other datatype. What are you trying to achieve exactly?

     

    -Amir

  • Brian Olsen 143 posts 424 karma points
    Aug 08, 2013 @ 08:17
    Brian Olsen
    0

    I need a date on some pages to sort the pages with.

    the field must not be mandatory but it is required so if there is a data type with a date picker where the field take today's date if it is empty

  • Amir Khan 1287 posts 2744 karma points
    Aug 08, 2013 @ 14:20
Please Sign in or register to post replies

Write your reply to:

Draft