Creative Slice
Member
Posted 2 years ago #
Trying to integrate Gravity Forms with The Events Calendar (http://wordpress.org/extend/plugins/the-events-calendar/).
The way that events are created is by using wp_postmeta. For example the following meta_key's are needed with corresponding meta_value's
_EventStartDate 2010-02-21 10:00:00
_EventEndDate 2010-02-21 11:00:00
_EventVenue Spoke6
_EventCountry United States
_EventAddress 439 N 6th Ave
_EventCity Tucson
_EventState AZ
_EventProvince
_EventZip 85705
_EventCost 5
_EventPhone
Is there a way to use custom fields within Gravity Forms to add this data to a post?
Thanks!
Tim
Shane Pearlman
Member
Posted 2 years ago #
great question. there should be but let me check and get back to you.
Creative Slice
Member
Posted 2 years ago #
Any progress on this Shane? I've tried a number of different options but seem to keep running into the major issue of date format. I can't get Gravity Forms to create an event using this format:
YYYY-MM-DD TT:TT:TT
mikeyleung.ca
Member
Posted 2 years ago #
@creativeslice Hi there, I'd really be interested in this feature as well. Watching this post as I feel it's really important to have community-submitted events, which would for me make this plugin very useful.
Creative Slice
Member
Posted 2 years ago #
Shane, any progress with possible event submission through Gravity forms? I'd love to be able to create events (with dates and times) which go right into The Events Calendar. Perhaps this is a feature coming with 1.6?
Cheers, Tim
Most of this data -- event name, cost, venue, phone -- can be captured fairly easily via Gravity Forms' Advanced Fields and Post Fields. Only the date and time are problematic, but the Gravity folks are considering that for a future release:
http://forum.gravityhelp.com/topic/localization-of-the-date-picker-and-date-format
The date and time could be processed via custom PHP, which is generally a bit beyond me:
http://forum.gravityhelp.com/topic/combining-fields
For now, I'm manually entering the date and time (which are provided to the site admin via a Gravity Forms notification) and getting the rest of the data with a form such as this one:
http://www.challengeblog.org/submit/
Shane Pearlman
Member
Posted 2 years ago #
Sorry for the absence! Thanks Kgagne, that's exactly what I found.