Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2010-01-24 18:48:23

rathersplendid
Plugin Author
From: London
Registered: 2008-05-02
Posts: 163
Website

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

Bloody love this plugin! Thanks Matt


Admin Themes Prometheus | Stung | <txp:coder/
My Portfolio | ɹǝpuɐz.com | @MrMartineau
<txp:coder /> – Convert your designs into Textpattern-based websites
jQuery Style | @jquerystyle

Offline

#32 2010-02-08 22:16:10

aslsw66
Member
From: Canberra, Australia
Registered: 2004-08-04
Posts: 342
Website

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

I’m not sure what I’m doing wrong here.

I downloaded and installed the plugin, and just set the preferences to use it for the publish and expire fields. I already have glz_custom_fields installed and I’m using it’s functionality to set a date picker for a custom feld. But I also want this functionality for the core TXP fields too.

Would this be causing a conflit?

Also, in the plugin preferences do I HAVE to set a URL for the datepicker? I wasn’t sure about this bit.

Thanks.

Offline

#33 2010-02-08 23:20:36

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.

aslsw66 wrote:

I’m not sure what I’m doing wrong here.

I downloaded and installed the plugin, and just set the preferences to use it for the publish and expire fields. I already have glz_custom_fields installed and I’m using it’s functionality to set a date picker for a custom feld. But I also want this functionality for the core TXP fields too.

Would this be causing a conflit?

Also, in the plugin preferences do I HAVE to set a URL for the datepicker? I wasn’t sure about this bit.

Thanks.

I’ve never used glz_custom_fields, since it’s not free, so I don’t know if that is the issue.

You MUST set jQuery UI URL and jQuery UI CSS URL because the plugin does not contain the javascript code and css for the actual datepicker. You can host these locally though and use a url to the files on your site if you’d like.

For example, you can download the files from jQuery’s Site, upload them to your site and use http://mysite.com/path/to/jquery-ui.min.js as the jQuery UI URL value.

Last edited by MattD (2010-02-08 23:26:31)


My Plugins

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

Offline

#34 2010-02-26 06:30:28

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

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

i have this working on the posted and expire fields, but if i try to use it with a custom field, it doesn’t show up.

date custom field: #date

custom field #5 is named “date”.

thanks

Offline

#35 2010-02-26 15:12:05

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.

You need to enter the html id of the custom field which is still custom-5


My Plugins

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

Offline

#36 2010-02-26 16:02:56

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

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

thank you my friend. now when it inserts the date it puts the year in twice:
03/13/20102010

Offline

#37 2010-02-26 16:38:37

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.

For some reason jquery uses yy for a four digit year as mentioned here

Last edited by MattD (2010-02-26 17:44:58)


My Plugins

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

Offline

#38 2011-02-10 20:27:30

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.

Small update to allow you remove the “jQuery UI URL” value from the plugin preferences to resolve conflict with other plugins that use jQuery UI.


My Plugins

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

Offline

#39 2011-02-10 21:14:14

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

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

Too quick to believe! Thanks, but unfortunately I can’t get this to work (even with blank jq ui url) with bot_ plugin anyway. His “choose image” is showing twice anyway AND your datepicker is not there. Knowing that I’m working with a subdir installation may help? There is something that I could try to help you?

Offline

#40 2011-12-07 00:41:46

jagorny
Member
From: Portland, OR
Registered: 2006-08-24
Posts: 39
Website

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

You’ve hardcoded the public URL into the plugin for the icon presentation in the write tab. For folks like myself using multi-site with the admin subdomain option A this does not work. It also assumes a textpattern subdomain which does not generally work for multi-site installs.

This line:

$msd_iconpath= hu . “textpattern/?msd_dtpkr=famfam”;

changed to this:

$msd_iconpath= “?msd_dtpkr=famfam”;

resolves the issue – and I don’t see why it wouldn’t work for regular installs. Can anyone confirm?

Offline

#41 2011-12-07 21:04:26

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.

Still seems to work when I change it to what you’ve suggested so I’ve implemented that change in version 0.7.


My Plugins

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

Offline

Board footer

Powered by FluxBB