Shea

Forum Replies Created

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • in reply to: Show Day Name next to Date Month View #1639969
    Shea
    Participant

    Hi Cliff,

    It is fixed now. It must have been a caching issue.Thanks for all of the help. I appreciate it.

    -Rich

    in reply to: Show Day Name next to Date Month View #1638187
    Shea
    Participant

    Hi Cliff,

    I tried the code you suggested on the single-day.php. You can see the edits that I made on lines 33 and 34 of the file https://gist.github.com/richsalvucci/6399b6b0a060646798a642540d590914. There is no change on the display. I have tried the file paths in my child theme of tribe-events/month and tribe-events/pro/month/ but neither path worked. Did I misplace the code in the file? Thanks for the help.

    -Rich

    in reply to: tribe_get_cost() not changing the event’s cost #1087118
    Shea
    Participant

    It should also be noted that we are not using the iframe on the page, but are using the plugin so we do not have to register the events in multiple places.

    Thanks,
    Rich

    in reply to: tribe_get_cost() not changing the event’s cost #1086323
    Shea
    Participant

    Hi Brook,

    It does make sense, that it should be hidden if Eventbrite tickets is implemented. The reason I am using the function is to show an event cost if we are not going register the event with Eventbrite. It seems to take the initial value of the field fine, so do we just need to be aware of the fact that if we cannot change the event cost once it is set up if we are not registering with Eventbrite? I realize that this certainly falls into the edge case category. Thanks for the help.

    -Rich

    in reply to: tribe_get_cost() not changing the event’s cost #1084273
    Shea
    Participant

    Hi Cliff,

    I can see it on the front end of the page. The issue is that with the Eventbrite tickets turned on it will not change the cost of an event.

    I switched to the 2015 theme and turned off Eventbrite Tickets and it worked as expected. I switched back to our custom theme and was able to change the cost of an event and see those changes reflected on the front end without issue. I reactivated the Eventbrite tickets and now when I change the cost the change is not being reflected on the front end. So for example if an event costs $25 if I change the event cost to $50 the front end still says $25. Does this mean it is an issue with the tribe_events_admin_show_cost_field filter?

    Thanks for the help.

    -Rich

    in reply to: tribe_get_cost() not changing the event’s cost #1083939
    Shea
    Participant

    Also I realized that I put the null, true as arguments on the if check on line 64, and have corrected that to be on line 66. <span class="event-cost-text"><?php echo tribe_get_cost( null, true ); ?></span>

    in reply to: tribe_get_cost() not changing the event’s cost #1083793
    Shea
    Participant

    Hi Cliff,

    I wasn’t clear when I described the issue. My problem is that when I change the event cost on the admin side those changes are not being reflected on the front end after I update the event.

    I changed to the 2015 theme and deactivated all of the plugins except for The Events calendar, Pro, Eventbrite Tickets and Advanced Custom Fields, but that still did not resolve the issue.

    Here is a link to a gist of my template file. https://gist.github.com/anonymous/b636aa5713109a639b9e

    Thanks for the help.

    -Rich

    in reply to: Change Eventbrite iframe width #1080696
    Shea
    Participant

    Hi Geoff,

    That worked, thanks so much for your help!

    • This reply was modified 8 years, 2 months ago by Shea.
    in reply to: Change Eventbrite iframe width #1080625
    Shea
    Participant

    This reply is private.

    in reply to: Change Template tag for Google Maps #1058686
    Shea
    Participant

    Hi Ronald,

    That is awesome! With a little tweaking I was able to get the code to work. Here is the working code:

    add_filter( 'tribe_get_map_link_html', 'override_tribe_get_map_link_html' ); 
    function override_tribe_get_map_link_html( $html ) { 
    	$html = sprintf( '<a class="tribe-events-gmap" href="%s" title="%s" target="_blank">%s</a>',
    		esc_url( tribe_get_map_link( $postId ) ),
    		esc_html__( '+ Google Map', 'the-events-calendar' ),
    		'map'
    	);
    	return $html;
    }

    Thanks so much for the help. I really appreciate it.

    in reply to: Change Template tag for Google Maps #1057626
    Shea
    Participant

    Hi Ron,

    I actually want to change the ‘+ Google Map’ text that is on line 47. I must have grabbed the wrong line number before. If I change the text there, what will happen when the update gets run on the plugin? Would I lose those text changes? If possible I would like to avoid having to make those changes everytime I update.

    Thanks for the help.

    in reply to: Javascript error on page possibly affecting event links. #1056811
    Shea
    Participant

    Hi Barry,

    It is the theme that is causing the error, if I switch to a default theme it goes away. The theme is custom, so I am not sure why that conflict would be created, but everything is still currently working.

    Thanks,
    Rich

    in reply to: Javascript error on page possibly affecting event links. #1056631
    Shea
    Participant

    Hi Barry,

    I was able to get the id passing through properly so the event page links are working properly. I also passed in $time = current_time( $type, $gmt = 0 ); to get rid of the PHP warning. Thanks so much for the help.

    I am not sure if the current events is being generated by the widget behind the scenes. I haven’t done anything to edit the code myself. Everything that I wrote is in the gist I posted with the minor tweaks that I made based on your above suggestions. I am also seeing a new JS error in the tribe-events.min.js file :

    Uncaught TypeError: c(...).on is not a functiontribe_ev.fn.tooltips @ tribe-events.min.js?ver=4.0.4:1
    (anonymous function) @ tribe-events.min.js?ver=4.0.4:1
    c.extend.ready @ jquery.min.js?ver=4.4.1:26
    L @ jquery.min.js?ver=4.4.1:33

    Currently the site is running as I would expect, so I am not sure if these are bugs, or something in my code is causing them.

    Thanks,
    Rich

    in reply to: Javascript error on page possibly affecting event links. #1056127
    Shea
    Participant

    Also if I remove my custom code for list.php the problem still persists.

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