ccg2017

Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • ccg2017
    Participant

    Thanks, AndrĂ¡s. I appreciate the tip on this. I’m testing this now and I’ll let you know how it works out.

    ccg2017
    Participant

    I should add that the post_meta above is accomplished with merge tags. I can build the calendar links with a merge tag, but I wanted to see if there was a better solution.

    As an alternative too, if there’s a way to use tribe_get_single_ical_link outside the loop, that would work.

    • This reply was modified 8 years, 1 month ago by ccg2017. Reason: More details
    in reply to: Two Issues – Meta date format + calendar title jumping #1338137
    ccg2017
    Participant

    Thanks Shelby, If you could provide the more specific advice for the customization it would be much appreciated.

    in reply to: Two Issues – Meta date format + calendar title jumping #1335754
    ccg2017
    Participant

    Thanks Shelby, I resolved the second issue with the calendar tile. It was due to some CSS customization.

    I look forward to your reply on adding the year to Event Details, Date.

    Thanks

    in reply to: Two Issues – Meta date format + calendar title jumping #1335696
    ccg2017
    Participant

    Calendar title issue resolved

    ccg2017
    Participant

    No problem Jennifer,

    It’s actually figured it out most of the way! We’ve made an addition to the meta.php to register the functions we need as merge tags:

    $venue_address = tribe_get_full_address ( $includeVenueName);
    add_post_meta( $event_id, 'event_address', $venue_address);
    add_post_meta( $event_id, 'event_date', $start_date);
    add_post_meta( $event_id, 'event_time', $time_formatted);

    Then in the email autoresponder they can be called like the below:

    Title:  {wp:post_title}
    Date: {post_meta:event_date}
    Time: {post_meta:event_time}
    Location:  {post_meta:event_address}

    There seems to be two issues I’m working on now and if you have any suggestions it would be appreciated.

    The resulting output (image attached) does not include the venue name and the line breaks on the location are unnecessary, so I would like to clean up the formatting.

    Thanks

    • This reply was modified 8 years, 8 months ago by ccg2017.
    ccg2017
    Participant

    Thanks Jennifer!

    The [tribe_event_inline] actually works pretty well and has brought us a lot closer!

    In the pop-up window, on page success message the content populates with all the proper info as we were hoping.

    In the email however just the post id and the tags are being displayed.

    Any ideas?

    • This reply was modified 8 years, 9 months ago by ccg2017.
    in reply to: +Export to iCal – Add button in popup window #1321959
    ccg2017
    Participant

    Thanks Shelby! Ive added the plugin to start. What did you suggest to move forward?

    ccg2017
    Participant

    Another followup:

    If I use the merge tag {wp:post_title} I am able to display the event title into the form. I am not however haveing luck with using the functions, something like {wp:tribe_events_title} or {querystring:tribe_events_title}. This may be the wrong usage for these but wondering if it sparks any thoughts on how to achieve this.

    ccg2017
    Participant

    I have a thought but my PHP isn’t strong so maybe you have a better idea.

    I believe I can pre-populate the previously mentioned hidden fields with the following code:

    
    ?php
    // apply_filters('ninja_forms_render_default_value', $default_value, $field_type, $feild_settings);
    add_filter( 'ninja_forms_render_default_value', 'my_change_nf_default_value', 10, 3 );
    function my_change_nf_default_value( $default_value, $field_type, $field_settings ) {
      if( 'textbox' == $field_type ){
        $default_value = 'foo';
      }
      return $default_value;
    }
    

    With that in mind, could you see how I would go about populating a field with the event title, for example using the functions? I believe the function for this is “tribe_get_events_title”.

    Thanks

    ccg2017
    Participant

    Hi Jennifer,

    I really appreciate the help, I know it’s a bit of an oddball scenario.

    If you visit this link and click “register for this seminar now” it launches a modal with a form.

    What I’m trying to do is add some event details such as title date, time to the conformation email kicked out from the form.

    What I think will work is to add a few hidden fields for that information, so that info can easily be inserted into the confirmation email.

    What I need to figure out is how to capture the event details and have them inserted into the corresponding hidden fields when the “register for this seminar” button is clicked.

    I don’t really need the post ID if the process can capture the pages details when the register button is clicked.

    Thanks again.

Viewing 11 posts - 1 through 11 (of 11 total)