• Resolved magus824

    (@magus824)


    Hello there! First, I would like to say thank you for the 2.0 update to this already great plugin.

    There are two things that I want to do, but haven’t found the documentation for it, if someone could help?

    1) I would like to be able to list all categories above the calendar view, so that if someone wanted to just see the calendar within a specific event category, they would be able to. Example: Let/s say I have two categories, “East Coast” and “West Coast”. When I am looking at the Event Calendar, I want to be able to have those categories listed, so that when someone clicks “West Coast”, they get to see a calendar with just the items pertaining to “West Coast”.

    2) I feel I should know this, but I can’t figure it out: I would like it so that the “Next Event” widget will also show the thumbnail for that event.

    Thanks in advance for any help you can give me!

    https://www.ads-software.com/extend/plugins/the-events-calendar/

Viewing 6 replies - 16 through 21 (of 21 total)
  • Hey fellas. Still having problems on this? It might have been opened in a new thread (which I just haven’t seen yet), in which case ignore my note…but I haven’t seen any action here in a couple of weeks and wanted to check whether Modern Tribe could do anything in an official capacity. Let me know.

    I think having all categories on a widget has been settled, but not allowing just one category. But I’m not sure what danceutah exactly wanted. But I like to know how you can tell what a subcategory is. Meaning my code above create a drop down of all categories. It would be nice if I can indicate somehow indicate some categories under each.
    I think danceutah should have made a different topic thread.

    For sure, Tim – danceutah, if you do see this, it’d be awesome if you opened a separate thread since that does seem unrelated to the core issue here.

    Allowing just one category in the widget is an available feature, but is only in PRO at this time and there are unfortunately no plans to backport that to the Free Events Calendar in the immediate future. Hope that helps and sorry I couldn’t offer up more in this capacity.

    Hello,

    very interesting subject, I tried to do some things like the list view.

    so I add this code:

    <?php
    $terms = get_terms(“tribe_events_cat”);
    $count = count($terms);
    if ( $count > 0 ){

    echo “<script type=’text/javascript’>function taclinkch(x){var y=document.getElementById(x).value;document.location.href=y}</script>”;
    echo “<form action=”> <select name=’eventcats’ id=’eventcats’ onchange=’taclinkch(this.id)’>”;

    echo “<option value=”>Select a Category</option>”;

    echo “<option value=’https://www.disabilityvoice.com/dvb/events/’>ALL</option>&#8221;;

    foreach ( $terms as $term ) {

    echo “<option value='” . get_site_url() . “/events/category/”. $term->name.” ‘>” . $term->name . “</option>”;
    }

    echo “</select></form>”;

    }
    ?>

    that function very well, but when I choose a category, I have a 404 ereur??

    an idea?

    I found it!

    as I am French, I have the plugin in French, so I forget to change this line:

    echo “<option value = ‘”. get_site_url (). “/ events / category /”. $ term-> name. ‘”>”. $ term-> name. “</ option>”;

    it’s good!

    Nice! Glad to hear you got this figured out, itemm. Looks like based on your note above you are all set here…I’m sure this will be of value to other French users who show up down the road, too. If you need anything else as you keep using the plugin please don’t hesitate to give us a shout.

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘[Plugin: The Events Calendar] List All Categories, Get Next Event Thumbnail’ is closed to new replies.