ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Custom Date fields not loading Datepicker widget on Publish page

November 07, 2010 12:48pm

Subscribe [3]
  • #1 / Nov 07, 2010 12:48pm

    Hi,

    I have a channel with a few custom Date fields, but on the Publish page, those fields aren’t getting the nice jQuery UI Datepicker dialog that they should be.

    To make things more interesting, the non-custom Date fields—Entry Date and Expiration Date—are getting the nice jQuery UI Datepicker. Screenshots attached.

    I have verified that the datepicker doesn’t appear in both Mac/FF 3.6 both and Mac/Safari 5.0.2. When I use Firebug to inspect the fields, I notice that the non-custom Date fields have a class=“hasDatepicker.” My custom Date fields do not have this class.

    I did upgrade from EE 2.1.0 to EE 2.1.1 (latest build) yesterday, but couldn’t tell you for sure whether this issue existed pre-upgrade.

    The site is http://macy.ehclients.com/, hosted on EngineHosting. The system folder is above root. Here are all the add-ons I have installed that might potentially affect the Publish page:

    —Extensions—
    P&T Field Pack
    Updatable Select Dropdown Extension

    —Fieldtypes—
    Checkboxes 1.0
    Date 1.0
    File 1.0
    Matrix 2.0.11
    Multi Select 1.0
    P&T Checkboxes 1.0.2
    P&T Dropdown 1.0.2
    P&T List 1.0.2
    P&T Multiselect 1.0.2
    P&T Pill 1.0.2
    P&T Radio Buttons 1.0.2
    P&T Switch 1.0.2
    Radio Buttons 1.0
    Relationship 1.0
    Select Dropdown 1.0
    Text Input 1.0
    Textarea 1.0
    The Selectatron 1.0
    Updatable Select Dropdown 1.2
    VZ URL 2.0.0

    Thanks for your help!

    Ruthie

  • #2 / Nov 08, 2010 9:17am

    Sue Crocker

    26054 posts

    Hi, Ruthie. If you temporarily disable all extensions, do you see the date picker then?

  • #3 / Nov 20, 2010 3:13pm

    Hi, Sue. Sorry for the delay in responding.

    I didn’t disable all the extensions, but when I changed the fieldtype for one of the custom fields on that Publish screen from P&T Pill to P&T Radio Buttons, the date picker returned. So my guess is that there’s some collision in the Javascript involving the P&T Pill fieldtype.

    I’ll let Pixel & Tonic know about the issue. Thanks for your help.

    Cheers,
    Ruthie

  • #4 / Nov 21, 2010 3:17pm

    Greg Salt

    3988 posts

    Hi Ruthie,

    Okay. I’ll close this now but please open a related thread if this issue cannot be resolved.

    Cheers

    Greg

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases