Is it possible to have a widget selector in configuration to be able to select date picker for Open and Close as well as Reminder date fields of Registration field type?

Thanks!

Comments

dpi’s picture

Ensure you have enabled the date_popup module. Then change the widget for your date fields attached to the host entity to popup.

Remember, you should be changing the date for open/close on entity/edit, not entity/entity_id/registrations/settings.

The reminder field is on my list to add. #1578682: Reminder dates

dlx’s picture

Thanks, dpi, for your prompt reply!

I probably should've explained in more detailed my setup. I have a content type that doesn't really have a date field. It's a generic "event" called Practicum placement and it's for an academic term which is defined like "Summer 2012". In the Practicum placement content type I have Registration field and in the registration setting there are those Open/Close/Reminder fields which I would like to have date picker on. Yes, those settings will be used by a trained user with elevated privileges (not admin though) but still, it's nice to have easier date selector.

dpi’s picture

Unless there is an easy way to inject javascript in there and add a picker, you'll have to post an issue over with the core module.

This module specifically integrates with Date.module.

dlx’s picture

Status: Active » Closed (works as designed)

I wasn't sure what project this issue should be submitted to. I will submit it to the Registration core. Thanks, dpi!

dlx’s picture

Status: Closed (works as designed) » Active

Sorry, dpi, what do you think about this: http://drupal.org/node/1316236#comment-5955920 ?

Posted by seanberto on May 4, 2012 at 11:08am
There's a bit of cross posting in this thread. But I'll chime in to say, @digitopo, that we're not likely to include the date picker in the core module - as that would create a dependency on the Date module. As great as the Date module is, it's a lot of code, often presents security issues, etc. DPI's add-on module is a great way for folks to get this functionality via a small helper module, without introducing a significant dependency for everyone who needs registrations.

dpi’s picture

that we're not likely to include the date picker in the core module - as that would create a dependency on the Date module.

Right, Registration Date supports date picker. When used with date fields.

dlx’s picture

Status: Active » Closed (works as designed)

Thanks, dpi, I've posted this issue with the Registration core project: http://drupal.org/node/1580560