Advanced Content Manager for Magento 2

Date & Time

Overview

Add a date field to your content.

Caution the date format has to be: mm/dd/yyyy

You can automatically put the current date by writing:

For date & time, the format is: mm/dd/yyyy hh:mm


Screenshot

Date

Settings

  • Title: Label of the field

  • Identifier: Unique ID, used for template redefinition and custom script. By default, the identifier is set by a concatenation of the Custom Type identifier (eg “all_fields”) and Title (eg. “area”).

  • Input type: current definition of the field type. Note that after saving, you’ll be unable to change it.

  • Required: define if the field is mandatory or not when user will complete the content form.

  • Show in Grid: define if the field will be available to be shown in the content listing (under CMS → Your content type name). Be careful, because all value will be shown.

  • Note: A note which will be displayed under the field to help the webmaster, or give information about this field.

Special settings:

  • Default value either a date respecting the following format : mm/dd/yyyy or mm/dd/yyyy hh:mm (if date&time field selected) or to write the current date.