Jonah

Forum Replies Created

Viewing 11 posts - 3,991 through 4,001 (of 4,001 total)
  • Author
    Posts
  • in reply to: All Events Category List #10966
    Jonah
    Participant

    Hi Sandy,

    I just put the cat list code at the top of my gridview.php template file but you could put it elsewhere too. Make sure you first setup a template override for gridview.php if you haven’t already by creating an ‘events’ folder in your theme directory and copying gridview.php in there. This will allow you to retain your changes to it when you update.

    Anythings possible but getting a search like that setup is fairly complex. I’ll put it on the list of potential tutorials we’re planning.

    Let me know if you have any other question.

    Thanks,
    Jonah

    in reply to: Displaying the Time Only #10926
    Jonah
    Participant

    Hi Anthony,

    You should be able to use:

    if(get_post_meta($e->ID, ‘EventAllDay’, true) == ‘yes’) {

    //display this code only for all day events

    } else {

    //display this code only for all other events

    }

    Have you tried it like that?

    If that still doesn’t work I’ll need to take a look at your table.php template to see what all code you have there. You can use something like http://pastebin.com/ to paste in your code and share the link here.

    Hopefully that helps.

    Thanks,
    Jonah

    in reply to: Query ongoing events only #10925
    Jonah
    Participant

    Hi Liana,

    Have you tried using the tribe_is_multiday() function wrapped around your query? For example: http://pastebin.com/SUNPSidX

    Hopefully that helps.

    – Jonah

    in reply to: All Events Category List #10922
    Jonah
    Participant

    Hi Scott, I just posted a tutorial on this: https://theeventscalendar.com/how-to-show-featured-thumbnails-in-the-next-events-widget/

    Enjoy!

    – Jonah

    in reply to: Changing popup size on grid #10870
    Jonah
    Participant
    Jonah
    Participant

    Hi Darren,

    For now this is probably the best and easiest way to do it. You can more specifically target the title only on certain pages like this page by using:

    .tribe_events .entry-title {
    display: none;
    }

    I hope that helps but let us know if you need anything else.

    Regards,
    Jonah

    in reply to: All Events Category List #10843
    Jonah
    Participant

    Ooops code got botched – here’s a Pastebin version:

    http://pastebin.com/zz9hfTUQ

    in reply to: All Events Category List #10842
    Jonah
    Participant

    Hi Scott,

    I’m not sure why tribe_meta_event_cats doesn’t show all the cats… I’ll have to look into it and put it on the list of things to potentially fix or improve going forward.

    For now though I’ve got a pretty good solution – since The Event Calendar uses taxonomies for categories you simply need to query for that particular taxonomy and spit out the records. This should do it:

    0 ){
    echo “”;
    foreach ( $terms as $term ) {
    echo “slug . “‘>” . $term->name . ““;

    }
    echo “”;
    }

    ?>

    As for showing thumbnails in the Next Event widget, there’s no super easy way to do this and I’m going to add this to the list for future features but basically what you’d want to do is unregister the TribeEventsFeatureWidget class and then add your own customized instance of it (so your changes won’t be overwritten when updating).

    I can provide an example if you’d like just let me know.

    Regards,
    Jonah

    in reply to: Mini calendar pop up size #10828
    Jonah
    Participant

    Hi Irene,

    I assume you mean the Calendar widget and yes you can completely customize the look of this but it’s going to take some CSS skills.

    I’m going to add this to the list of tutorials that we’re planning on creating but for now I’ll go through some basics.

    1. You’ll first want to create your own copy of the events.css stylesheet so next time you update you don’t lose your changes. To do this just create a copy of ‘plugins/the-events-calendar/resources/events.css’ and place into an ‘events’ folder in your theme directory. So if you’re theme is in a folder ‘my-theme’ you would add the events folder so you would have ‘my-theme/events’.

    2. Then you’ll want to focus on the Sidebar Calendar styles which can be found around line 436 in events.css – in particular look at line 472 for .tribe-events-calendar-widget .tribe-events-tooltip – that is the CSS selector for the wrapper of the tooltip.

    3. There are a lot of things you could do with the styling and it depends on your particular design and CSS skills for what you can accomplish but the skies the limit. As an example if you wanted to add a light grey background to the tooltip you could add:

    .tribe-events-calendar-widget .tribe-events-tooltip {
    width:100px;
    left:0;
    text-align:left;
    padding:5px 10px;
    background: #efefef;
    }

    That should give you a pretty good start but keep an eye out in the near future for tutorials on this type of thing.

    Regards,
    Jonah

    Jonah
    Participant

    Actually scratch that, I see what’s going on. When you have your own events.css file in your theme, it completely overrides the plugins events.css and since you’ve got old styles in there you’re going to somehow have to migrate them or just use the plugins events.css by deleting the one in your theme (backup first though 🙂

    Does that help?

    Jonah
    Participant

    Hi Reece,

    It looks like for some reason the plugin is not loading the default stylesheet. Have you tried deactivating and reactivating the plugin? Or, do you have the plugins default styling disabled/unregistered from some reason in Thesis?

    I do notice that your custom events.css file is being loaded but it contains old classes and id’s for elements that the old version of the plugin used. So, you could either go through manually and fix the classes and id’s in that file or get the plugins default stylesheet loaded and then reintroduce your custom styles.

    I hope that helps but let me know if you have any questions.

    Regards,
    Jonah

Viewing 11 posts - 3,991 through 4,001 (of 4,001 total)