Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Datetime only time

Started by Jan 8 years ago · 3 replies · 1149 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 themetman, 23 hours ago
2 40 16 hours ago
General · by Hanns Mattes, 1 week ago
0 121 1 week ago
General · by Karmalakas, 1 week ago
2 185 1 week ago
General · by Hanns Mattes, 3 weeks ago
0 235 3 weeks ago
General · by Dima, 4 weeks ago
1 211 4 weeks ago