• Resolved ihiustler

    (@ihiustler)


    I am using headway themes so adding the legend has been a little difficult. Can someone give me some advice on what to do correctly? I have tried the instructions that are listed within the plugin and added a copy of ecp-page-template.php to an events folder within my theme and adding the appropriate code to that file. I am using the plugin called “The Events Calendar Category Colors”.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Andy Fragen

    (@afragen)

    Ok, forget about the ecp-page-template.php for now.

    Add the code from this gist to your theme’s functions.php file. When on the Events Calendar page it should display the name of the template file that you are using. Edit that file by adding the legend code where you want the legend to display.

    Also, can you give the URL of your calendar? Thanks.

    Thread Starter ihiustler

    (@ihiustler)

    http://chiroinc.com/seminars

    it is not lined up but it is functioning but now when you go to the categories it has the issues I ran into before with the calendar colored. try it out. I am off to bed and will address this in the morning.

    Plugin Author Andy Fragen

    (@afragen)

    You probably just have to place the code below where the title of the calendar is being generated.

    FYI, when you update to v1.5.6 you’ll need to look at the FAQ here and add that code to get rid of the whole calendar coloring.

    Thread Starter ihiustler

    (@ihiustler)

    Andy,

    My problem is with this now after the update is the following issue I had before.

    http://chiroinc.com/seminars
    http://chiroinc.com/seminars/category/technique

    It seems its back to my original issue I had with the front of the calendar. I added some CSS to fix that and all I think I need to do is find the right CSS code.

    I see the option in the setting disappeared for fixing some CSS issue.

    Thx

    Plugin Author Andy Fragen

    (@afragen)

    As I said, the new update will cause this problem for you. Go to the FAQ, http://wordpress.org/extend/plugins/the-events-calendar-category-colors/faq/

    Adding that code should fix it.
    https://gist.github.com/4324054

    That fix caused more problems for other users so I pulled out the code and made it available from the gist as needed.

    Thread Starter ihiustler

    (@ihiustler)

    yes it fixed the main calendar view but it does not fix the category calendar pages as shown here

    http://chiroinc.com/seminars/category/technique/

    Plugin Author Andy Fragen

    (@afragen)

    Sorry, I forgot the category pages had a different selector. I’ve updated the gist so the code should work for both pages now.

    Plugin Author Andy Fragen

    (@afragen)

    This seems to now be working.

    CarolinaEpicurean

    (@carolinaepicurean)

    Not sure if I should post here or start a new thread?

    I’m having difficulty getting Category Colors Legend working. I’ve copied the ecp-page-template.php file to a new Events folder – my theme > events folder. I’ve added this line of code where I want the legend to appear: <?php teccc_legend_hook(); ?>

    I’m using a Headway Theme and have everything working except the Legend: http://carolinaepicurean.com/events/

    The “Legend” on the page now are a series of .jpeg’s with category names on them and no links. Still want to do some styling on event category pages.

    The Legend was working fine with my previous theme: Genesis with Lifestyle Child.

    Help would be appreciated.

    Plugin Author Andy Fragen

    (@afragen)

    Moved to another thread.

    CarolinaEpicurean

    (@carolinaepicurean)

    Thanks. Sorry for confusion.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Getting the legend integrated’ is closed to new replies.