Integration with Gravity Forms?

Home Forums Calendar Products Events Calendar PRO Integration with Gravity Forms?

Viewing 15 posts - 31 through 45 (of 65 total)
  • Author
    Posts
  • #10630
    Jamie Oastler
    Participant

    The first half of that might be a lot easier than that now….
    The Gravity Forms + Custom Post Types add-on (http://themergency.com/plugins/gravity-forms-custom-post-types/) offers ability to put both taxonomy or post type entries into standard drop-down fields.

    Still can’t seem to make it quite work, but that might help the process for someone else.

    #10659
    Jamie Oastler
    Participant

    The recent updates to GF 1.6 and the Custom Post Type plugin for GF has made this integration quite easy for the first scenario.

    Create a standard drop-down with dynamic population parameter name ‘EventVenueID’ and specify Populate with a Post Type of ‘Venues’. Setting the default entry to something like ‘–select venue–‘.

    #10670
    Christina
    Participant

    My goodness, Jamie, I have no idea what any of that means 🙂 In my implementation, everything is being properly stored except the venue name. It is always stored as “Unnamed Venue”. But the interesting part is that the permalink for the venue is correct. For instance, If I submit the form with the venue as “Town Hall”, “123 Main Street”, “Anytown USA”, The venue is added as “Unnamed Venue”, “123 Main Street”, “Anytown USA”. But the permalink created is “…/town-hall/”.

    #11064
    Markus
    Participant

    Hey,

    any solution or should we still wait for the community plugin?

    #11065
    Markus
    Participant

    Any Solutions? Or should we wait for the community plugin?

    #11210
    Jamie Oastler
    Participant

    Christina: Was just putting out what info I could find in hopes it might help someone else figure a full solution.

    I’m now at the same point you are – stores organizer info perfect, but venue only stores permalink with venue name, not the venue post title.

    I did manage to setup dynamic drop-down lists for venues / organizers which you can select from previously created ones that works via the following:

    -Create a standard dropdown field. In the advanced tab specify populate dynamically with field title VenueSelect (or OrganizerSelect for that)

    -Paste the code from http://pastebin.com/t3W0ntgz into your functions.php making sure to replace the _6 in gform_pre_render_6 with whatever the ID for your form is.

    -In the gform_pre_submission function where you do the format_event_date function, you’ll need to check that field to store venueID / organizerID or not as this example does: http://pastebin.com/Nyj08q1h

    My temporary work-around is since events are posted to draft and GF stores the populated data, when an event is posted for a new venue I manually create the venue and associate to the event. Hoping either a solution for this or the community events comes out soon though.

    #11220
    Robert
    Member

    Out of curiosity, does this support moderation of what is submitted and viewed on the website? Say I want to review all events submitted before posted to the site. Can this happen?

    #11248
    Rob
    Member

    Robert: yup, it should if you’re using Tim’s walkthrough; by default they’ll all appear as drafts until an admin approves. Hope that helps.

    #11324
    cleverdaisies
    Participant

    Hi there!

    Good afternoon everyone!

    Nothing I do seems to be working. The form submits and creates the event however nothing past the date seems to populate. Basically the custom fields. Except for the cost of the event, which seems to be the only custom field that is working.

    Christina, were you ever able to get this completely working before the website launched? Any tips?

    On a side note, is there any news on when the community add-on might be released?

    Thanks for your help!
    Meghan

    #11325
    Christina
    Participant

    Hi Meghan,

    No, not completely. I’m storing everything but the venue name. And I didn’t attempt to build in reocurrance. The site launched last week and I’m going to have to manually adjust venue names until the community add-on is available.

    If you’d like me to share my code in it’s entirety, let me know and I’ll post in for you.

    Thanks,
    Christina

    #11338
    cleverdaisies
    Participant

    Thanks so much Christina! I would love if you would share your code/process with me. The site is launching this week so I would love to have it working, at least for the most part until the community add-on is released.

    Thanks again for your help!

    #11340
    Christina
    Participant

    Meghan, My functions.php code is here
    http://www.iostudio.net/gravity.html

    To modify for your purposes, you’ll need to change the form and field IDs to match your form.

    If you are wondering about the code, or need explanations of it, these are the sources.

    I used Tim’s walkthrough as a start:
    http://creativeslice.com/tutorials/gravity-forms-events-calendar-submissions/

    Added in bits of code from here:
    http://support.makedesignnotwar.com/discussion/comment/5379/#Comment_5379

    And the Save Post details from here:
    https://theeventscalendar.com/event-submissions-using-gravity-forms-in-2-0/

    Let me know if I can help further. Thanks!

    #11341
    Christina
    Participant

    One more thing – for the custom field names , I used these. It’s a minor adjustment from Tim’s walkthrough

    _VenueVenue
    _VenueAddress
    _VenueCity
    _VenueStateProvince

    #11342
    cleverdaisies
    Participant

    Thanks so much Christina! I will try this today and let you know if I have any questions.

    #11348
    Rob
    Member

    Thanks a lot Christina 🙂

Viewing 15 posts - 31 through 45 (of 65 total)
  • The topic ‘Integration with Gravity Forms?’ is closed to new replies.