Forum Replies Created
-
AuthorPosts
-
March 7, 2018 at 9:09 am in reply to: Add to calendar in custom emails & third party plugins #1472358
ccg2017
ParticipantThanks, AndrĂ¡s. I appreciate the tip on this. I’m testing this now and I’ll let you know how it works out.
March 6, 2018 at 6:11 am in reply to: Add to calendar in custom emails & third party plugins #1470905ccg2017
ParticipantI 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_linkoutside the loop, that would work.-
This reply was modified 8 years, 1 month ago by
ccg2017. Reason: More details
August 21, 2017 at 8:36 am in reply to: Two Issues – Meta date format + calendar title jumping #1338137ccg2017
ParticipantThanks Shelby, If you could provide the more specific advice for the customization it would be much appreciated.
August 15, 2017 at 2:02 pm in reply to: Two Issues – Meta date format + calendar title jumping #1335754ccg2017
ParticipantThanks 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
August 15, 2017 at 12:54 pm in reply to: Two Issues – Meta date format + calendar title jumping #1335696ccg2017
ParticipantCalendar title issue resolved
August 7, 2017 at 8:13 am in reply to: Merge Tags – Need to merge specific event details into a auto-responder email #1331588ccg2017
ParticipantNo 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.
July 25, 2017 at 10:38 am in reply to: Merge Tags – Need to merge specific event details into a auto-responder email #1325918ccg2017
ParticipantThanks 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.
ccg2017
ParticipantThanks Shelby! Ive added the plugin to start. What did you suggest to move forward?
July 3, 2017 at 3:38 pm in reply to: Merge Tags – Need to merge specific event details into a auto-responder email #1315654ccg2017
ParticipantAnother 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.
July 2, 2017 at 9:12 am in reply to: Merge Tags – Need to merge specific event details into a auto-responder email #1315261ccg2017
ParticipantI 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
July 2, 2017 at 8:45 am in reply to: Merge Tags – Need to merge specific event details into a auto-responder email #1315255ccg2017
ParticipantHi 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.
-
This reply was modified 8 years, 1 month ago by
-
AuthorPosts
