• Resolved ctimmerman

    (@ctimmerman)


    After the recent update, all the events in the month view show as one particular event from that month. If you hover over each event, you see the right information, but if you click on it, it will take you to the one event that shows on the month view. I need help fixing that, please! And, I really don’t know anything about code, so please be specific.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • I had a similar issue. I noticed that I was overriding the [your-theme]/tribe-events/month/single-event.php and that the original in the plugin was different. I’m not sure if it was changed (because I don’t recall altering the override much, if at all). But, copying the original template from the plugin folder (wp-content/plugins/the-events-calandar/src/views/month/single-event.php) into my override fixed it.

    If not you could either alter your overridden template or just override it and temp fix it by extracting the info from “data-tribejson” and apply it to the anchored link tag in each link.

    Something like this in a script tag.

    
    $('.tribe_events').each( function () { 
    		let data = JSON.parse($(this).attr('data-tribejson')); 
    		let url = data['permalink']; console.log(url);
    		let title = data['title'];
    
    		$(this).find('a').text(title).attr('href', url);
    	} 
    );
    

    Awesome – I had this exact issue and replacing the theme file override fixed my issue.

    I’m thinking this has been figured out, the month view I’m getting looks nice → https://p.tri.be/bN9W9s

    Take care,
    Ed ??

    Hey there,

    Since this thread has been inactive for a while, I’m going to go ahead and mark it as resolved. Don’t hesitate to create a new thread any time you help again!

    Ed ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Venues in month view show all one event’ is closed to new replies.