1 vote

Multiple Date Picker for Umbraco 8

Multiple Date Picker is a ported version of https://github.com/markwemekamp/Umbraco-Multiple-Date-Picker package for Umbraco 7.

Installation

Either log in to the backoffice of Umbraco and search the package library for 'Multiple Date Picker' or you can now install this via nuget. `Install-Package oc.MultipleDatePicker`

Usage

Log in to the backoffice of Umbraco 8 and setup a new Data Type - follow video demo below:



Within the frontend view: 

Once you have your data type added to your Document Type, you can get the dates in your view like this : 

@{
    foreach (var date in Model.Dates)
    {
        DateTime formatDate = (DateTime)date;
        <b>@formatDate.ToString("dd-MM-yyyy")</b>
    }
} 

Dates is the alias that I gave my property in the document type, if you called it something like Date Picker, then your alias would be Model.DatePicker.


Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.


 

 

Screenshots

 Download package
version 1.0.0

NuGet install instructions for Umbraco 8.6.0-8.18.13

Install-Package oc.MultipleDatePicker

Package owner

Owain Williams

Owain Williams

Owain has 1412 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
Version 8.18.x (untested)

You must login before you can report on package compatibility.

Previously reported to work on versions:

Package Information

  • Package owner: Owain Williams
  • Created: 25/08/2020
  • Current version 1.0.0
  • .NET version 4.7.2
  • License MIT
  • Downloads on Our: 86
  • Downloads on NuGet: 2.1K
  • Total downloads : 2.1K

External resources