Yii Framework Forum: [EXTENSION] Date picker (jQuery UI based) - Yii Framework Forum

Jump to content

  • (3 Pages)
  • +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

[EXTENSION] Date picker (jQuery UI based) Rate Topic: -----

#41 User is offline   MetaYii 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 393
  • Joined: 07-October 08
  • Location:The Matrix

Posted 22 January 2009 - 08:37 AM

Quote

Good news, about the advanced options, thanks. But where's the download gone  ???. Can i find 1.9 somewhere else?


Hi mikl, the datepicker has been deprecated. I'm working to support 1.6 jQuery UI widgets with jQuery 1.3. A new set of widgets will come soon (today or tomorrow)
0

#42 User is offline   MetaYii 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 393
  • Joined: 07-October 08
  • Location:The Matrix

Posted 23 January 2009 - 10:13 AM

http://www.yiiframew...opic,622.0.html
0

#43 User is offline   byron 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 30
  • Joined: 04-April 09

Posted 04 May 2009 - 08:31 PM

Hi.  I'm really sorry - but I need to ask a simple question.

I downloaded the JUI extension and put it in \protected\extentions\jui

Can someone show me a simple example of how to create a datepicker?

Also, do I have to explicitly include the jui js and css files in my layout (header)?

Thanks for helping/reading.
0

#44 User is offline   MetaYii 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 393
  • Joined: 07-October 08
  • Location:The Matrix

Posted 04 May 2009 - 08:41 PM

Quote

I downloaded the JUI extension and put it in \protected\extentions\jui

Can someone show me a simple example of how to create a datepicker?


There are some examples in the extension page. Try them first.

Quote

Also, do I have to explicitly include the jui js and css files in my layout (header)?


They are included automatically, so don't worry.


0

#45 User is offline   byron 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 30
  • Joined: 04-April 09

Posted 04 May 2009 - 08:52 PM

Wow - thanks.  It was too easy!  I just thought it had to be harder than that :D
0

#46 User is offline   byron 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 30
  • Joined: 04-April 09

Posted 05 May 2009 - 10:41 AM

What's the difference between an extension and a component?
0

#47 User is offline   will 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 179
  • Joined: 21-March 09

Posted 05 May 2009 - 10:45 AM

Quote

What's the difference between an extension and a component?

check out this http://www.yiiframew...ension.overview
0

#48 User is offline   byron 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 30
  • Joined: 04-April 09

Posted 05 May 2009 - 09:26 PM

Thanks Will.

I have another question for you guys.  Thanks again for all of your help.

I view my project by going to r=project/show&id=1 ... on that page I have a "+ create new" link for Events (Project HAS_MANY Event).  I have a .click jquery function that populates an empty div with the results of r=event/create.

The form shows up nicely, but the datepicker doesn't seem to be working.  If I go directly to r=event/create in the browser it works just fine.

Any ideas?
0

#49 User is offline   will 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 179
  • Joined: 21-March 09

Posted 05 May 2009 - 11:08 PM

Quote

Thanks Will.



I have another question for you guys.  Thanks again for all of your help.



I view my project by going to r=project/show&id=1 ... on that page I have a "+ create new" link for Events (Project HAS_MANY Event).  I have a .click jquery function that populates an empty div with the results of r=event/create.



The form shows up nicely, but the datepicker doesn't seem to be working.  If I go directly to r=event/create in the browser it works just fine.



Any ideas?

It may due to this issue http://code.google.c...es/detail?id=38
0

#50 User is offline   m1k3 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 13-May 09

Posted 15 May 2009 - 01:17 PM

Hi,

I'm succesfully using your extension, it was very easy to configure inspite being my first Yii app.  However I was wondering if it is possible to combine your widget and attach the CMaskedTextField behavior in order to give change to a user to either pick a date through your extension or type it directly in the textfield using a mask to avoid date format errors.  is there a way to accomplish this?
0

#51 User is offline   MetaYii 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 393
  • Joined: 07-October 08
  • Location:The Matrix

Posted 15 May 2009 - 03:03 PM

Quote

I'm succesfully using your extension, it was very easy to configure inspite being my first Yii app.  However I was wondering if it is possible to combine your widget and attach the CMaskedTextField behavior in order to give change to a user to either pick a date through your extension or type it directly in the textfield using a mask to avoid date format errors.  is there a way to accomplish this?


This extension is deprecated, you should use JUI. I answered here.
0

Share this topic:


  • (3 Pages)
  • +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users