Home › Forums › Calendar Products › Events Calendar PRO › Only List and Month templates work
- This topic has 9 replies, 2 voices, and was last updated 11 years, 11 months ago by
Casey D.
-
AuthorPosts
-
May 12, 2014 at 6:22 am #157902
Mary Kay Jones
ParticipantI’m not sure if this is a theme conflict or what, but I get these error messages on all tabs other than List and Month…
“Notice: Template overrides should be moved to the correct subdirectory: /var/www/www.nortoncenter.com/wp-content/themes/espresso/tribe-events/week.php is deprecated since version 3.2! Use pro/week.php instead.”
My guess is the theme structure is out of date, but I need to know what I can do to fix the problem.
May 12, 2014 at 12:41 pm #158328Casey D
MemberHello rldesign,
Thanks for contacting us! I believe this should be a relatively easy problem to solve.
Our plugin has a built-in system for designing the output of calendars. We call this functionality template overriding. If you check out our Themer’s Guide for all the information.
Since it seems like you’re upgrading from an older system, you just have to do a small tweak to make everything run smoothly.
If you FTP into your site, in your theme directory you should notice a ‘tribe_events’ folder, along with a ‘week.php’ file inside that.
/wp-content/themes/espresso/tribe-events/week.php
In the ‘tribe_events’ directory, create a new folder called ‘pro’, then move ‘week.php’ into the new ‘pro’ folder. The end result is this:
/wp-content/themes/espresso/tribe-events/pro/week.php
Does this make sense? Let me know if this doesn’t work for you.
Cheers!
– Casey Driscoll
May 13, 2014 at 10:38 am #159569Mary Kay Jones
ParticipantAwesome! That worked swimmingly.
Any suggestions for this error?
“Notice: tribe_events_event_recurring_info_tooltip is deprecated since version 3.5! Use tribe_events_recurrence_tooltip() instead.”
May 14, 2014 at 5:31 pm #161475Casey D
MemberHello rldesign,
I’m assuming at some point in the past, a developer created that week.php file for your site, and since then we have updated our API.
It looks like it would be a relatively easy fix, as you just have to change the problematic functions. If you could upload the file to http://pastie.org/ or other type site, I may be able to fix it quickly.
Cheers!
– Casey Driscoll
May 20, 2014 at 7:28 am #167617Mary Kay Jones
ParticipantHere’s the link to the week.php file.
http://pastie.org/private/xwq2vnxkrwl6jbmpqmuaw
I can provide other files as well.
Thanks!
May 20, 2014 at 1:51 pm #167982Casey D
MemberHello rldesign,
That looks like the default week.php template. Do you have another file that contains ‘tribe_events_event_recurring_info_tooltip’ somewhere?
– Casey Driscoll
May 20, 2014 at 2:03 pm #168005Mary Kay Jones
ParticipantHere’s a link to download the whole tribe-events folder from the theme.
http://www.sendspace.com/file/9gg98k
The only change I’ve made to it was to add the “pro” folder as suggested.
Sorry for not being more helpful.
May 20, 2014 at 5:14 pm #168170Casey D
MemberHello rldesign,
Your errors should go away if you update these 4 places (in 3 files)
Also, it looks like most of the files in this directory are hurting rather than helping! The point of this override folder is just to put the needed files in there. So unless you have specific edits to change the way it looks on your site, you can remove these files.
Does this make sense? Let me know if this doesn’t work for you.
Cheers!
– Casey Driscoll
May 21, 2014 at 5:49 am #168796Mary Kay Jones
ParticipantThe purchased template included some custom styling that I need, unfortunately.
Fixing the code in those files fixed the problem, though. Thanks so much!
May 21, 2014 at 6:56 am #168916Casey D
MemberHello rldesign,
Happy it worked out!
We’d love it if you would leave us a review and let people know how much you like the plugin! http://m.tri.be/jt
I’ll go ahead and close this thread. Let us know if we can help with anything else.
– Casey Driscoll
-
AuthorPosts
- The topic ‘Only List and Month templates work’ is closed to new replies.

