Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-12-03 20:11:57

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

msd_admin_datepicker: jQueryUI Date Picker in the Write Tab.

At the request of mrtunes and candyman I threw together this plugin which adds a jQuery UI Datepicker to the Textpattern write tab allowing you to easily add a custom formated date to your article.

Download and more information

  • version 0.2 (12/07/2009) – Added the option to use datepicker for posted or expire date. Unable to set calendar using posted or expire value but selecting a date works.
  • version 0.3 (12/07/2009) – Allow blank value for Date Custom Field preference.
  • version 0.4 Fixed link to Options in Help. (Thanks pieman)
  • version 0.5 Added icon
  • version 0.6 (02/10/2011) – If jquery url property is blank then don’t load jquery-ui. This should fix allow users to not load jquery-ui with this plugin and fix issues with other plugins that load jquery ui like bot_image_upload.
  • version 0.7 (12/07/2011) – Fix for multisite installs. (Thanks jagorny)

Last edited by MattD (2011-12-07 21:05:52)


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#2 2009-12-03 21:19:42

mrtunes
Member
From: Toronto, On
Registered: 2007-03-12
Posts: 575
Website

Re: msd_admin_datepicker: jQueryUI Date Picker in the Write Tab.

i am in awe! thank you so much :)

can’t wait to try it out later.

Offline

#3 2009-12-04 00:00:35

candyman
Member
From: Italy
Registered: 2006-08-08
Posts: 684

Re: msd_admin_datepicker: jQueryUI Date Picker in the Write Tab.

Thank You!!!

I should be careful to what I ask from now on… ;)

Last edited by candyman (2009-12-04 00:11:42)

Offline

#4 2009-12-04 17:33:04

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

Re: msd_admin_datepicker: jQueryUI Date Picker in the Write Tab.

Lovely. That’s going straight into the toolbox. Thanks Matt.

Offline

#5 2009-12-04 19:11:44

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: msd_admin_datepicker: jQueryUI Date Picker in the Write Tab.

Here’s a tip.

You can add multiple datepickers to multiple fields using multiple jQuery selectors


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#6 2009-12-06 08:31:36

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,529
Website GitHub Twitter

Re: msd_admin_datepicker: jQueryUI Date Picker in the Write Tab.

Hi Matt

is it possible to use this plugin to set article date and article expire date?

Cheers

Offline

#7 2009-12-06 17:05:15

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: msd_admin_datepicker: jQueryUI Date Picker in the Write Tab.

Not currently. It’s a bit more complicated since they use three separate fields but I’ll look into providing that functionality.


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#8 2009-12-07 14:56:46

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 805
Website

Re: msd_admin_datepicker: jQueryUI Date Picker in the Write Tab.

Hi Matt
is it possible to use this plugin to set article date and article expire date?

+1

:)

Last edited by RedFox (2009-12-07 14:57:08)

Offline

#9 2009-12-07 15:03:28

jelle
Member
Registered: 2006-06-07
Posts: 165

Re: msd_admin_datepicker: jQueryUI Date Picker in the Write Tab.

RedFox wrote:

bq. Hi Matt
+1
:)

+2

:]

Last edited by jelle (2009-12-07 15:03:54)

Offline

#10 2009-12-07 18:27:43

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

Re: msd_admin_datepicker: jQueryUI Date Picker in the Write Tab.

jelle wrote:

+2
:]

Three’s a crowd, but what the heck…

+3

Offline

#11 2009-12-07 18:50:02

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: msd_admin_datepicker: jQueryUI Date Picker in the Write Tab.

Version 0.2 allows you to easily use the datepicker for setting the Article Posted and/or Expire dates. I was unable to get it to display the current value of the field in the datepicker calendar but it works for setting the date.

See original post for download link.


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#12 2009-12-07 19:02:29

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

Re: msd_admin_datepicker: jQueryUI Date Picker in the Write Tab.

Thank you Matt :o)

Offline

Board footer

Powered by FluxBB