Home › Forums › Calendar Products › Events Calendar PRO › Menu and sidebar missing on category pages
- This topic has 5 replies, 2 voices, and was last updated 13 years, 10 months ago by
Jonah.
-
AuthorPosts
-
June 15, 2012 at 9:43 am #20696
leviticus
ParticipantI’m having an odd issue after the most recent upgrade to Events Calendar Pro and WordPress 3.4. On my main calendar and category pages my menus and sidebars that are querying regular posts are missing. The titles are also missing in the category views that don’t have upcoming events:
http://74.54.77.210/~nwmn/?tribe_events_cat=travel (has upcoming events)
http://74.54.77.210/~nwmn/?tribe_events_cat=synod-assembly-event (no upcoming events)
http://74.54.77.210/~nwmn/?post_type=tribe_events&eventDisplay=monthThe menus and sidebars display properly on single event posts:
http://74.54.77.210/~nwmn/?tribe_events=scandinavian-church-services-at-stave-churchSo I’m guessing there is a conflict in my code somewhere?
Another unrelated issue: My calendar keeps defaulting to list view even after I have it set to grid/calendar view in the preferences. Thoughts?
June 17, 2012 at 7:59 pm #20745Jonah
ParticipantHi Genesis,
Depending on what you are using for the Events Template in Settings > The Events Calendar > Template, you’re going to need to adjust some thing in that template. If using the “Default Events Template” the plugin will use /wp-content/plugins/the-events-calendar/views/ecp-page-template.php for the Events List, Calendar and Category pages and /wp-content/plugins/the-events-calendar/views/ecp-single-template.php for single events. To edit either of those files, make copies and place in an ‘events’ folder in your theme. If using anything else besides the “Default Events Template”, you’re going to want to edit one of your theme page templates.
What’ll you’ll need to do for the sidebars is use this conditional code (https://gist.github.com/2415009) to set what sidebars are being used in your event related pages. Same for the page titles.
On the defaulting to list issue, try setting your permalinks to Postname.
I hope that helps! Let me know if you have any other questions or need more help with this.
Cheers,
– JonahJune 18, 2012 at 12:05 pm #20801leviticus
ParticipantI am using the Default Page Template and that was showing my menus before the update. Even if I switch the template to the Default Events Template, my menus don’t show up on the main calendar page or the category pages. I even tried deleting the customizations I did to the /events/ files on my theme, but that didn’t solve it either.
With my current conditionals, it seems the proper header/footer/sidebar files are being called (ie:you can see the “News” banner on the pages), but some of the content in them is missing (ie: the article queries and dynamic menu calls). The exception to this is on the main calendar page the footer is missing entirely.
I can send you my template files if that will help me explain the trouble. I’m at a bit of a loss.
June 18, 2012 at 12:17 pm #20802Jonah
ParticipantHi Genesis,
No guarantees I can completely help you with this but if you send me some template files I’ll see what I can do. Please email to pro [at] tri [dot] be and reference this thread.
Thanks,
JonahJune 19, 2012 at 11:27 am #20859leviticus
ParticipantThanks, I just sent the files.
June 21, 2012 at 8:21 am #20965Jonah
ParticipantHi Genesis,
Unfortunately this is a bit too complex of an issue for us to be able to troubleshoot or help with. I took a look at the theme but there’s so much going on it’s hard to say what the problem could be without spending a lot of time turning things on and off. One thing, have you tried setting your permalinks to Postname in Settings > Permalinks? Other than that there is probably something in your theme that is throwing things off. My suggestion would be to start stripping things out of the theme until you can get the menus or sidebars back on event related pages.
Good luck!
– Jonah
-
AuthorPosts
- The topic ‘Menu and sidebar missing on category pages’ is closed to new replies.
