• Resolved David Levine

    (@justlevine)


    Note: I am not looking for you to resolve a plugin conflict. I’m trying to understand what’s changed in V2 Views in how it gets the post/page ids and outputs the template.

    When using V2 Views with Display > Events Template > Default Page Template and Ubermenu enabled, none of the event views get rendered.

    Old views work fine, using Events Page Template works fine, and of course disabling Ubermenu lets the V2 Views work on the Default Page Template.

    Going to a Single Event and looking at Query Monitor > Tribe Events Context, and the post_id is set to 0. But the request vars show that the Queried Object is Single Event: #54597 (WP_Post).

    There are no errors in debug.log, so I have no debugging information to work with.

    This means that there’s something new about how V2 Views grabs and processes the post/page ID, that it doing with the Default Events Template, but not when the Default Page Template is loaded. Been searching the developer documentation and going over the new view templates, but I can’t figure out what it could be.

    Any chance you could point me to either
    – where TEC gets the query vars used for its V2 views,
    – what’s different about how the V2 Default Events Template sets up the views vs how V2 Default Page Template does it,
    – or even just how I can TEC to output some debug info when the V2 views fail to render?

    TIA!

    Tested with:
    TwentyTwenty
    Wordpress v5.3.2
    The Events Calendar v5.0.0
    Ubermenu v3.6.1

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter David Levine

    (@justlevine)

    Persists in TEC 5.0.0.2

    • This reply was modified 4 years, 2 months ago by David Levine.

    I am having the same issue with TEC 5.0.0.2 and TEC Pro 5.0.0.2.

    I have activated the v2 views, and the monthly calendar and all of the other views on the calendar page are update. However, if you go and click on an individual event the single-event page still looks like the old design.

    Thread Starter David Levine

    (@justlevine)

    @vikings412

    I have activated the v2 views, and the monthly calendar and all of the other views on the calendar page are update. However, if you go and click on an individual event the single-event page still looks like the old design.

    This seems like a different issue. For me, when v2 views are activated no tribe views shows at all, the_content() just returns blank.

    PS: Not all views were updated with 5.0, and it seems that single events are still using the old templates (single-event.php if it was created in classic editor, and single-event-block.php if it was created in the block editor).

    • This reply was modified 4 years, 2 months ago by David Levine.
    Thread Starter David Levine

    (@justlevine)

    Persists in v5.0.1

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘No V2 views showing when using ‘Default Page Template’ and Ubermenu’ is closed to new replies.