Blocked Dates

Blocked Dates is an add-on for Concrete5. It adds a new Blocked Date/Time attribute type that you can use with pages, files, users and in your custom code.  Additionally, if you have the eCommerce add-on you can use Blocked Dates with products and orders.  Do you deliver, but do so only on week days?  Are the products you tickets to an event with different days?  Blocked Dates can be used to restrict purchases to specific days or days of the week.

   
Blocked dates provides all the functionality that the Date/Time attribute built-in to Concrete5 has, plus it adds the following features:

  • Ability to block out days of the week
  • Ability to black out specific days of the year
  • Ability to specify a cut-off time after which the current day is blocked
  • Ability to display a Blocked Date as time only value (the Concrete5 Date/Time attribute supports times but only in conjuction with dates).

When a Blocked Date is presented to the user (e.g. when the User registers or when checkout in with an order) a standard date field is displayed.  When the user clicks on the date a calendar popup appears - just like with the Concrete5 Date/Time attribute.  With a Blocked Date value, however, any dates that are blocked will be grayed out and disabled.  If the user hovers over those blocked dates a tooltip will appear explaining why the date is not available.
           
All of this works with just be setting values in the Concrete5 Dashboard.  No programming in PHP or Javascript is required.  Should you want to use Blocked Dates in your own custom code, however, the Blocked Dates add-on does include a helper class the provides access to all Blocked Date functionality.  It's even possible to create Blocked Dates without configuring them from the Dashboard.

PLEASE NOTE: Blocked Dates is no longer actively supported. If you purchased Blocked Dates please send a private message to 'tbcrowe' for support.  Now that Blocked Dates is free support requests to the Marketplace support forum may or may not be answered.

Approved by PRB

Our 30 Day Support Policy

  • Replies to tickets every few days.

Support Hosted

  • On concrete5.org