Lars

Forum Replies Created

Viewing 15 posts - 106 through 120 (of 202 total)
  • Author
    Posts
  • in reply to: Add Orgaziner to calendar detail overlay (Part II) #127023
    Lars
    Participant

    Did you get this to work with Week View? If so please advice. Thanks a lot.

    in reply to: Add Orgaziner to calendar detail overlay (Part II) #126901
    Lars
    Participant

    Oh… I’m working with Week View. Not Month View… so that’s why! Is that possible as well?

    in reply to: Add Orgaziner to calendar detail overlay (Part II) #126894
    Lars
    Participant

    Thanks, 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.

    in reply to: Week View date link causes URL error #126848
    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 ?

    in reply to: Week View scroll to any given event #126831
    Lars
    Participant

    Right, glad I got you convinced 😉 So this should be fixed with 3.5.2 ?

    in reply to: Add Orgaziner to calendar detail overlay (Part II) #126829
    Lars
    Participant

    Same result. It just shows the same Organizer (the one with the highest ID number) for all events.

    in reply to: SEO title error since 3.5 #126825
    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;
    }

    in reply to: Add Orgaziner to calendar detail overlay (Part II) #126760
    Lars
    Participant

    Of 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?

    Lars
    Participant

    Right, we find that reasonable enough… Thanks

    in reply to: Week View scroll to any given event #126718
    Lars
    Participant

    It 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/

    in reply to: Week View date link causes URL error #126625
    Lars
    Participant

    This reply is private.

    in reply to: Week View date link causes URL error #126623
    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?

    in reply to: SEO title error since 3.5 #126619
    Lars
    Participant

    This reply is private.

    Lars
    Participant

    So 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?

    in reply to: Add Orgaziner to calendar detail overlay (Part II) #126351
    Lars
    Participant

    Hi 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).

Viewing 15 posts - 106 through 120 (of 202 total)