• Resolved ahobart

    (@ahobart)


    Hello,
    I recently added The Events Calendar plugin and am having some issues with custom menus in 2 places – the calendar itself and event categories. However, the specific events are displaying the custom menu just fine.

    I created a custom menu that consists of pages, post categories and the calendar event categories.

    Calendar category scenario:
    When viewing a calendar category in either list or grid view the custom menu displays the following where “The Events Calendar” is a hyperlink going to the main calendar page (www.mysite.com/events):
    The Events Calendar > Category Name
    The Events Calendar > Category Name
    The Events Calendar > Category Name …

    Calendar scenario:
    Similar to the scenario above except that the custom menu displays the following but this time the permalinks are correctly associated with the pages, post categories and calendar categories from the custom menu:
    The Events Calendar
    The Events Calendar
    The Events Calendar …

    Any help would be greatly appreciated ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi there. I’m not quite sure I understand the issue here; the first scenario you proposed is how the calendar is intended to work. Are you saying that with the second, all menu items are being replaced as “Calendar of Events”? Any chance I can see a link to your site?

    Rob-

    I work with ahobart so I can weigh in. You got it in one…the custom menu item names are replaced with “Calendar of Events” when viewing the Calendar category.

    So in our case the slug is “events”. When viewing /events/ the custom menu changes to

    • Calendar of Events
    • Calendar of Events
    • Calendar of Events
    • Calendar of Events
    • Calendar of Events
    • Calendar of Events
    • Calendar of Events
    • Calendar of Events
    • Calendar of Events
    • Calendar of Events

    Etc. However, the link values are correctly retained.

    If you drill into an events category, e.g., /events/category/category-name it changes to:

    Calendar of Events
    Category-name
    Calendar of Events > category-name
    Calendar of Events > category-name
    Calendar of Events > category-name
    Calendar of Events > category-name
    Calendar of Events
    Category-name
    Calendar of Events > category-name
    Calendar of Events > category-name
    Calendar of Events > category-name
    Calendar of Events > category-name

    Where every link now goes to /events/

    We’ve gone down several paths of troubleshooting, and are now exploring whether the query pulling Custom Menu is colliding with the query pulling Event Category…but we’re pretty stuck right now. It’s certainly confounding behavior.

    I would be happy to share screencaps or a link privately if you tell me the best way to contact you. Since it is client work I cannot post the link here.

    Hey jdecker. Thanks for reporting; I think I understand the issue, but if you could send a link to rob at tri.be (Amy already sent an email separately) I can check and verify that this is related to what I think it’s related to. Thanks!

    Rob-

    We solved the problem! The issue was with the page template selected for the plugin, which we’d set to the blog post template. We had, in essence, a loop within a loop. With some file rearrangement, we were able to get everything to draw correctly. Gah!

    Thanks for responding!

    Excellent to hear you got this resolved. Sorry that for my part, I wasn’t particularly helpful in reaching that resolution. Can I assume that we’re all set here? Let me know if there’s anything you’re still waiting from me on and I’ll follow-up as needed.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: The Events Calendar] Issues with custom menus’ is closed to new replies.