List View not working if the default View is changed.

Home Forums Calendar Products Events Calendar PRO List View not working if the default View is changed.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #962285
    Jan
    Participant

    Hi,

    the list view “href” in the ‘<ul class=”tribe-bar-views-list”>’ is not working if the default view setting is set other then to list view.

    After digging into the source I found the select option.

    <select class=”tribe-bar-views-select tribe-no-param” name=”tribe-bar-view”>
    <option data-view=”list” selected value=”http://domain.org?post_type=tribe_events”&gt; <!– Now it gets clear, if the default view is changed and list view link points to the default view, the list view won’t show up–>
    Liste
    </option>

    <option data-view=”month” value=
    http://domain.org?post_type=tribe_events&eventDisplay=month”&gt;
    Monat
    </option>

    <option data-view=”day” value=”http://domain.org?post_type=tribe_events&eventDisplay=day”&gt;
    Tag
    </option>
    </select>

    in addition i also checked the php files, and ended up here:

    var_dump(tribe_events_get_views());

    array(3) {
    [0]=>
    array(4) {
    [“displaying”]=>
    string(4) “list”
    [“event_bar_hook”]=>
    string(28) “tribe_events_before_template”
    [“anchor”]=>
    string(5) “Liste”
    [“url”]=>
    string(62) “http://domain.org/wordpress?post_type=tribe_events&#8221;
    }
    [1]=>
    array(4) {
    [“displaying”]=>
    string(5) “month”
    [“event_bar_hook”]=>
    string(34) “tribe_events_month_before_template”
    [“anchor”]=>
    string(5) “Monat”
    [“url”]=>
    string(81) “http://domain.org/wordpress?post_type=tribe_events&eventDisplay=month&#8221;
    }
    [2]=>
    array(4) {
    [“displaying”]=>
    string(3) “day”
    [“anchor”]=>
    string(3) “Tag”
    [“event_bar_hook”]=>
    string(28) “tribe_events_before_template”
    [“url”]=>
    string(79) “http://domain.org/wordpress?post_type=tribe_events&eventDisplay=day&#8221;
    }
    }

    Adding the eventDisplay=list param, will solve the problem.

    kind regards

    #962428
    Geoff
    Member

    Hello Jan! Thanks for getting in touch and sorry for the trouble here.

    I do see that we have already ticketed this issue on our system and expect it to be released in the next version. I’ve added this thread to that ticket so we can try to follow-up with you when that’s been released.

    In the meantime, it’s worth noting that the issue only affects default permalinks. So, for example, if you head to Settings > Pernalinks and select a different option (i.e. Post name), then this should go away.

    I’ll go ahead and close this thread since we don’t have more to share at this point, but will certainly try to follow-up with you here as there’s more to report. Keep you eyes open for the next release. 🙂

    Thanks and sorry again!

    Geoff

    #966765
    Leah
    Member

    Hi there,

    Thank you for your support and patience while we worked on this issue. We are happy announce that we have incorporated a fix into our upcoming 3.10 release. Keep an eye out for a release announcement on our site and for updates available on your WordPress dashboard.

    While we have thoroughly tested this release and are confident of its quality, it is impossible to account for every edge case in the wide world of WordPress. If you run into trouble with the new version or you don’t see your reported issue corrected, please start a new thread and we will be happy to work with you.

    Thanks again for your patience here. We’re excited to get this version out the door and into your hands!

    Best,
    The Events Calendar Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘List View not working if the default View is changed.’ is closed to new replies.