Forum Replies Created
-
AuthorPosts
-
Lars
ParticipantDid you get this to work with Week View? If so please advice. Thanks a lot.
Lars
ParticipantOh… I’m working with Week View. Not Month View… so that’s why! Is that possible as well?
Lars
ParticipantThanks, but it didn’t work either. It causes the Tooltip box to not show at all. Did you test this yourselves? Guess we just have to leave this as it seems just a difficult for you – as it is for all of us – to work with your calender.
Lars
Participant@Barry: That would obviously work as the whole link is removed – but this is not how it is intended to work – so will it be fixed with 3.5.2 ?
Lars
ParticipantRight, glad I got you convinced 😉 So this should be fixed with 3.5.2 ?
Lars
ParticipantSame result. It just shows the same Organizer (the one with the highest ID number) for all events.
Lars
Participant@Barry: I believe you ment: add_filter(‘wpseo_title’, ‘filter_events_title’, 999);
(how do you add the yellow block when you reply to me?)Anyway it didn’t help – and this is another bug that came with 3.5. It did work fine before updating to 3.5 and you provided the “Runs the <title> element through our custom filter” snippet yourselves to make a workaround for ECP not supporting Yoast SEO.
What we did find out is this:
The snippet below works showing custom title for “Week View” and “List View” but not for “Map View” :
// Runs the <title> element through our custom filter
// add_filter(‘wp_title’, ‘filter_events_title’);
// If you are using Yoast delete the above line and uncomment the following one
add_filter(‘wpseo_title’, ‘filter_events_title’);// Tribe events: Manually set title for each page
function filter_events_title ($title) {
if ( tribe_is_week() && !is_tax() ) { // Week View Page
$title = ‘Events – Danish Maritime Days’;
}
elseif ( tribe_is_upcoming() && !is_tax() ) { // List View Page: Upcoming Events
$title = ‘Upcoming Events – Danish Maritime Days’;
}
elseif ( tribe_is_map() && !is_tax() ) { // Map View Page
$title = ‘Upcoming Events – Danish Maritime Days’;
}
return $title;
}Changing add_filter(‘wpseo_title’, ‘filter_events_title’); to add_filter(‘wp_title’, ‘filter_events_title’); like shown below make “Map View” custom title show but then “Week View” and “List View” custom title doesn’t show !!! How do you explain that – unless something has been changed with 3.5?
// Runs the <title> element through our custom filter
add_filter(‘wp_title’, ‘filter_events_title’);
// If you are using Yoast delete the above line and uncomment the following one
// add_filter(‘wpseo_title’, ‘filter_events_title’);// Tribe events: Manually set title for each page
function filter_events_title ($title) {
if ( tribe_is_week() && !is_tax() ) { // Week View Page
$title = ‘Events – Danish Maritime Days’;
}
elseif ( tribe_is_upcoming() && !is_tax() ) { // List View Page: Upcoming Events
$title = ‘Upcoming Events – Danish Maritime Days’;
}
elseif ( tribe_is_map() && !is_tax() ) { // Map View Page
$title = ‘Upcoming Events – Danish Maritime Days’;
}
return $title;
}Lars
ParticipantOf course we updated to version 3.5 as well as the tooltip.php file itself. But nonetheless – it doesn’t work. As described: your line of code: <?php echo tribe_get_organizer($event->ID); ?> will pick and show the same Organizer for all our events in the Tooltip – and not the right Organizer (as they are different from one another) by it’s related Event ID.
If Modern Tribe doesn’t know how get this information out by it’s right ID – we can’t see how we should be able to do it ourselves by referring to your resources and guides?
April 2, 2014 at 6:29 am in reply to: No Week View events showing in various IE browsers (Urgent!) #126730Lars
ParticipantRight, we find that reasonable enough… Thanks
Lars
ParticipantIt does not work as you describe with or without our customizations and nor does it here: http://wpshindig.com/events/week/ or here: http://tribe.drfragen.info/events/week/
Lars
ParticipantThis reply is private.
Lars
Participant@Barry could you just try unselecting “Day” the “Display Settings => Enable Event Views” and see what happens when you click one of the 7 week dates displaying at the top of Week View?
Lars
ParticipantThis reply is private.
April 1, 2014 at 2:40 pm in reply to: No Week View events showing in various IE browsers (Urgent!) #126462Lars
ParticipantSo IE9 displays the calendar differently than 10 and 11? And as my events might not start until after 9.00 am they are not displayed in the IE9 screenshot? This means than only IE10 and 11 are fully supported?
Lars
ParticipantHi Rob! We did of course test it – placing this <?php echo tribe_get_organizer($event->ID); ?> in the right spot in the tooltip.php file. But as described the code is not showing the right Organizer for each event. Something is wrong ($event->ID).
-
AuthorPosts
