定制 ctigelaar/craft-dropdowndate 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ctigelaar/craft-dropdowndate

Composer 安装命令:

composer require ctigelaar/craft-dropdowndate

包简介

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

README 文档

README

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

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:

    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.

  • 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.

统计信息

  • 总下载量: 157
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-12-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固