Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Datetime only time

Started by Jan 7 years ago · 3 replies · 751 views
7 years ago

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

7 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

7 years ago

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

7 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 Jerry Hunt, 4 days ago
2 85 13 hours ago
General · by pamtbaau, 18 hours ago
1 60 17 hours ago
General · by Andy Miller, 1 day ago
0 47 1 day ago
General · by Marcel, 12 months ago
6 350 5 days ago
General · by Duc , 6 days ago
3 44 5 days ago