Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Datetime only time

Started by Jan 8 years ago · 3 replies · 947 views
8 years ago

I would like to use the datetime field but only for choosing a time, without the datepicker. Is that possble?

8 years ago

In the previous version Grav was provided without datepicker for date field. Now you could modify the field o replace it with a new custom date field

8 years ago

Thanks for the hint. Any idea how exactly I can modify the field?

8 years ago

You can change some lines in :
system\blueprints\pages\default.yaml

YAML
        header.date:
          type: datetime
          label: PLUGIN_ADMIN.DATE
          toggleable: true
          help: PLUGIN_ADMIN.DATE_HELP
last edited 02/03/19

Suggested topics

Topic Participants Replies Views Activity
General · by jeremycherfas, 4 days ago
3 92 17 minutes ago
General · by Old Man Umby, 2 days ago
1 60 2 days ago
General · by Sebastian, 4 days ago
1 81 4 days ago
General · by Andy Miller, 2 weeks ago
0 216 2 weeks ago
General · by ready-4-IT, 6 months ago
1 716 3 weeks ago