2017 © Pedro Peláez
 

craft-plugin craft-dropdowndate

Custom fieldtype for Craft to display a DateTime field as separate dropdowns

image

ctigelaar/craft-dropdowndate

Custom fieldtype for Craft to display a DateTime field as separate dropdowns

  • Sunday, December 27, 2015
  • by ctigelaar
  • Repository
  • 1 Watchers
  • 0 Stars
  • 102 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

craft-dropdowndate

Custom fieldtype for Craft to display a DateTime field as separate dropdowns, (*1)

Functionality

  • Extends the default DateTime fieldtype, but without a datepicker.
  • Allows the user to enter a date using three separate <select> fields for day/month/year.
  • You can set your own range for the Year field, using full numeric year notation (eg. 2016) or a strtotime() value based on the current date/time.

Installation

Using Composer

  1. Add ctigelaar/craft-dropddowndate to your composer.json file.
  2. Run Composer:, (*2)

    php composer.phar update
    
  3. Go to your Control Panel and navigate to Settings/Plugins and click the Install button to install Dropdown Date.
  4. Installation complete, you can now choose this fieldtype when creating fields.

Using just copy and paste

  1. Download a zip from the latest release, see releases.
  2. Unzip it in a new directory craft/plugins/dropdowndate.
  3. Go to your Control Panel and navigate to Settings/Plugins and click the Install button to install Dropdown Date.
  4. Installation complete, you can now choose this fieldtype when creating fields.

TODO

Some ideas to make this fieldtype even more flexible. Just a list of ideas, not to be meant as a roadmap or something like that., (*3)

  • Add dropdowns for time selection
  • Display dropdowns in the order of Craft's dateformat

Contact

If you have any questions, suggestions or noticed any bugs, please feel free to contact me., (*4)

The Versions

27/12 2015

dev-master

9999999-dev

Custom fieldtype for Craft to display a DateTime field as separate dropdowns

  Sources   Download

The Requires

 

27/12 2015

1.0.0

1.0.0.0

Custom fieldtype for Craft to display a DateTime field as separate dropdowns

  Sources   Download

The Requires