Only List and Month templates work

Home Forums Calendar Products Events Calendar PRO Only List and Month templates work

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #157902
    Mary Kay Jones
    Participant

    I’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.

    #158328
    Casey D
    Member

    Hello 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

    #159569
    Mary Kay Jones
    Participant

    Awesome! 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.”

    #161475
    Casey D
    Member

    Hello 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

    #167617
    Mary Kay Jones
    Participant

    Here’s the link to the week.php file.

    http://pastie.org/private/xwq2vnxkrwl6jbmpqmuaw

    I can provide other files as well.

    Thanks!

    #167982
    Casey D
    Member

    Hello 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

    #168005
    Mary Kay Jones
    Participant

    Here’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.

    #168170
    Casey D
    Member

    Hello rldesign,

    Your errors should go away if you update these 4 places (in 3 files)

    2014-05-20 at 8.12 PM

     

    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

    #168796
    Mary Kay Jones
    Participant

    The purchased template included some custom styling that I need, unfortunately.

    Fixing the code in those files fixed the problem, though. Thanks so much!

    #168916
    Casey D
    Member

    Hello 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

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Only List and Month templates work’ is closed to new replies.