Jonah

Forum Replies Created

Viewing 15 posts - 3,691 through 3,705 (of 4,001 total)
  • Author
    Posts
  • in reply to: Ajax implementation issues #14316
    Jonah
    Participant

    Hey Luke, you don’t need to move the threads, I’m just noting that for future threads you create. Thanks!

    in reply to: Editing the events.css inside theme #14297
    Jonah
    Participant

    Sounds good Robert!

    in reply to: List View on Category Page #14296
    Jonah
    Participant

    Sorry, code got botched, try this: http://pastebin.com/Qw9ywfiJ

    in reply to: List View on Category Page #14294
    Jonah
    Participant

    Hey Brad, I think the easiest solution for this would be to conditionally check for these specific categories and if it is one, use a different URL containing the event list slug vs. the calendar.

    The main place your event categories are displayed is in the single event view so you’ll want to first make a copy of /wp-content/plugins/the-events-calendar/views/single.php and place in an ‘events’ folder in your theme.

    Next, find line 32 where tribe_meta_event_cats() is called. We’re going to replace that with a custom category (actually taxonomy because event categories are really taxonomies) display function.


    global $post;
    $event_cats = wp_get_object_terms($post->ID, 'tribe_events_cat');
    if(!empty($event_cats)){
    echo 'Category: ';
    foreach($event_cats as $cat){
    if($cat->term_id == 9) {
    echo 'slug.'/">'.$cat->name.'';
    } else {
    echo 'slug, 'tribe_events_cat').'">'.$cat->name.'';
    }
    }
    }

    This get all the event categories just like before and displays them in basically the same way, but now you have the condition (if($cat->term_id == 9) {) to check for your category and use a different link appending “/upcoming” in between your calendar slug and the category prefix.

    All you need to do to get this working in your setup is to change the term_id to the category you want to check for and add any others you want to check for. And then change the /calendar slug if you are using something different.

    I hope that helps!

    in reply to: Customizing the Mini Calendar #14293
    Jonah
    Participant

    Hey mrdan,

    Your first request is fairly involved and I won’t be able to offer up a solution for this. I can tell you we’ve got on the roadmap the ability to navigate between months like you can in the big calendar in the mini calendar but no ETA on when this is coming…

    For the second request, you’ll probably want to create a custom field either with our plugin or another to be able to specify a custom link or a link override for specific events and then update table-mini.php to detect this. Again, somewhat involved and this is also customization help that we cannot provide in the forum.

    I hope that helps, good luck!

    – Jonah

    in reply to: Ajax implementation issues #14292
    Jonah
    Participant

    Hey Luke, lot’s of questions… In the future can you please limit a thread to one question for organization?

    1. You’re right, I’m going to file this as a bug and we’ll get it fixed ASAP. The easiest solution now is of course to not use overflow hidden on containing divs on the calendar page.

    2. I believe the month and year drop down uses the same AJAX functionality as the prev/next arrows.

    3. I’m not sure about changing the title via AJAX but I think I see why you asked #2, it looks the title is correct when switching the month/year from the drop downs but not when you use the prev/next links. I will need to check with some of the other devs to see what can be done about this…

    4. Yeah agreed, not sure why it’s in there like this. I’ll see what can be done about getting this changed.

    Thanks for the reports! I’ll let you know what I hear back regarding the above followup items.

    – Jonah

    Jonah
    Participant

    Hey Haavard, you’re right this appears to be a bug. I’ll create a ticket for it and we’ll get it fixed ASAP. In the interim you may want to try using Advanced Custom Fields (http://www.advancedcustomfields.com/) for your purposes.

    Good luck!

    in reply to: Removing or moving Bullet points in widget #14289
    Jonah
    Participant

    That’s strange that didn’t work in your main style.css file… The events.css is located in: /wp-content/plugins/the-events-calendar/resources/events.css – Simply duplicate the one there and put the copy in an ‘events’ folder in your theme and your changes will be safe from any future updates.

    in reply to: Removing or moving Bullet points in widget #14270
    Jonah
    Participant

    Hi Meghan, all you have to do is add the following to either your themes CSS or a custom duplicated events.css in an ‘events’ folder in your theme:


    #sidebar .eventsListWidget li,
    #sidebar .eventsAdvancedListWidget li {
    background: none;
    }

    in reply to: Missing Argument 2 – Related to ICal issue? #14232
    Jonah
    Participant

    Good to hear Marc, we’ll still get it fixed for those who don’t want to change their permalinks!

    in reply to: Missing Argument 2 – Related to ICal issue? #14223
    Jonah
    Participant

    Hi Marc,

    This is a bug where when you have WordPress permalinks set to Default in Settings > Permalinks this error occurs for recurring events. If you can change your permalink structure this should fix the problem. I;ve gone ahead and filed the bug ticket and we’ll get this fixed ASAP otherwise. Thanks for the report!

    – Jonah

    in reply to: Removing or moving Bullet points in widget #14219
    Jonah
    Participant

    Hi Meghan, you’re going to need to play around with the CSS a bit to get this working right. Your theme is applying arrows to the LI tags in the widget and the events plugin is overriding the padding your theme has set in order to show those arrows. Do you want these arrows there or not?

    in reply to: Weird text layout problem #14218
    Jonah
    Participant

    Hi Seppe,

    I don’t think this is anything our plugin is doing. When I use that format, separating event dates like you did with commas, it shows up exactly how it should in the back end and front end. You must have another plugin or something in your theme that is interfering. I would suggest turning all your plugins off except for The Events Calendar and seeing if that helps. And if not, switching to the Twenty Eleven theme to see if it’s something with your theme. Let us know what you find.

    Thanks,
    Jonah

    Jonah
    Participant

    Ahhh silly me, yes that is the solution. I was looking at my custom template thinking that this was the default code (this is why I asked if you had modified the default template) when I should have looked at the original. I’m not exactly sure why the default template is setup to show all events past and present but it is.

    So Jason, you’ll want to make a copy of single-venue.php and put it in an ‘events’ folder in your them and the modify line 45 with the update UMaine provided. Thanks UMaine!

    – Jonah

    in reply to: Looking for a way to merge Event Category with Blog Category #14195
    Jonah
    Participant

    Hey Jason,

    Yeah, you would want to put ‘8’ in for terms because event categories are actually taxonomies and the code above is executing an extra tax_query (taxonomy query) to check for that taxonomy ID.

    Hope that works! If you feel up to it we’d really appreciate any shout outs on Twitter, Facebook or your blog if you have one!

    Cheers,
    Jonah

Viewing 15 posts - 3,691 through 3,705 (of 4,001 total)