Accessing Events Calendar data

Home Forums Calendar Products Events Calendar PRO Accessing Events Calendar data

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #20806
    Andy Fragen
    Moderator

    I’m trying to write a plugin to augment TEC and I need to be able to get all the category slugs for a given installation of TEC and write them to an array. I’m a bit lost on how to grab this kind of data from someone else’s plugin. Any takers?

    #20818
    Joyce Grace
    Member

    Hi Andy. That sounds great – I’m not sure much about how to answer this myself, but I will try to get Jonah to help point you in the right direction.

    Since I know you’re helping out here on the forums, if you need anything specific to the code email Rob directly and he can try to get it to you.

    Thanks!

    #20820
    Andy Fragen
    Moderator

    Thanks Joyce. I’ll contact Rob. FWIW, you can check out what my idea is https://github.com/afragen/events-calendar-category-colors

    #20877
    Joyce Grace
    Member

    Hi Andy, is that similar to this tutorial we have? https://theeventscalendar.com/coloring-your-category-events/

    #20910
    Andy Fragen
    Moderator

    Hi Joyce. It’s exactly like the tutorial. What I’m trying to do is make it very simple. As I’m new to this plugin writing stuff there will be lots of room for improvement once I get something functional. If you want to see how the core of it works look at the category-colors.php file. You can see a version of it working at http://drfragen.com/pub/category-colors.php

    #20940
    Joyce Grace
    Member

    Interesting, thanks Andy, I look forward to the end result! I think many users will find it useful 🙂

    #20984
    Jonah
    Participant

    Hey Andy,

    Does this help at all: https://gist.github.com/2019513 ?

    – Jonah

    #21023
    Andy Fragen
    Moderator

    Jonah — Exactly what I needed. Thanks.

    #21106
    Jonah
    Participant

    Sweet! Let us know if there’s anything else you need with this.

    – Jonah

    #977193
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Accessing Events Calendar data’ is closed to new replies.