10 replies [Last post]
dionysio's picture
Offline
Joined: 03/17/2009
Juice: 27
Was this information Helpful?

Is there anyway to make an attribute use a popup calendar. I use the Date module but that only works when someone is creating a new product. However, I want the user to be able to pick a date for an event upon checkout, using a calendar. Is this possible?

EricBorgen's picture
Offline
Joined: 03/29/2009
Juice: 12
Re: Date Popup Attributes

That would be an interesting approach to my issue, if indeed I can assign a date to a event, but constrain it to possible dates (when there will be that type of class).
Hmm

(Sorry to hijack your post, but mine hasn't gotten any comments - and I'm fetching around for a new approach)

jack-ruby's picture
Offline
Joined: 02/26/2009
Juice: 15
Yes please> Has anyone got

Yes please>
Has anyone got this cracked?

webmystery's picture
Offline
Joined: 06/11/2009
Juice: 6
I need this too!

I can see a lot of applications for this, like bookings and reservations.
I guess I can resort to using dropdowns for Month/day/Year and concatenate them into a proper date format. The site is for a group of people who aren't all very technical and I don't want to have to validate proper entry of mm/dd/yyyy. But why re-invent the wheel when I've got a lovely date picker module available everyplace else on the site? Any tips on getting the date module to work in an attribute field will be greatly appreciated.

markagray's picture
Offline
Joined: 09/09/2009
Juice: 192
dionysio wrote: Is there
dionysio wrote:

Is there anyway to make an attribute use a popup calendar. I use the Date module but that only works when someone is creating a new product. However, I want the user to be able to pick a date for an event upon checkout, using a calendar. Is this possible?

Did you find a solution to this?

Nicole Bluto's picture
Offline
Joined: 04/11/2010
Juice: 23
also interested

Yes, what did you finally do to solve your date problem?

hasselius's picture
Offline
Joined: 05/21/2010
Juice: 5
Re: Date Popup Attributes

I want to do this same thing. For event bookings as well. I need a small validation to prevent a booking from happening on the day of the event. Looked into cck-fields. It appears as though I may need to alter the module to allow for a date field.

Have any of you had any success or discover a workable hack?

fabrizio_cyj's picture
Offline
Joined: 05/23/2010
Juice: 9
Anyone found a solution?

Looks like there are several requests for this, but no answer... What I actually need to do is give the user the option select a date from a pulldown menu, but let the administrator set the options for that pulldown menu with a calendar popup.

Any ideas?

Nicole Bluto's picture
Offline
Joined: 04/11/2010
Juice: 23
Just an update

I have not been able to solve this problem. We are using a less than ideal workaround where each date is a individual product that can be chosen and purchased from a views list. I would love to see this idea developed because it would open up lots of opportunities for event development in Ubercart. The solution is beyond my abilities.

56rosa's picture
Offline
Joined: 05/31/2010
Juice: 19
Start date- and End date would pop automatically

Hello,

Just wonder if it's possible to have a start date for a course, and when the potential student picks a start date for a course, the end date would automatically pop as well.

I think that I may need JavaScript with this. Or is it possible with Ubercart? Or do I need to add some JavaScript functions to make it work with Ubercart?

For example, we can have a 2 week course or a 3 week course etc... So, when we select 5th of January, it would automatically gives the end date.

Any idea if this can be achieved with Ubercart please?

jhanjon's picture
Offline
Joined: 12/18/2010
Juice: 27
me too...

I would also be quite interested in this functionality. Is there a tutorial on how to use the drupal date module with ubercart?