Events Widgets

Home Forums Calendar Products Events Calendar PRO Events Widgets

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #21286
    Tyler
    Member

    I love the simplicity of the Next Event widget but I need to show two events.

    I love the options on the Upcoming Events option, but the option I need most is available. That’s the showing the event description.

    The Next Event widget does show the description.

    Basically all I want is to show the Event Title, date, location, and description twice.

    Please help.

    #21289
    Zoe
    Participant

    Hi, If you move the /plugin-path…/views/events-list-load-widget-display.php to an /events/ folder in your theme you can edit the template for the events list widget. Then you just need to find out what php is used to call the description!

    Hope that helps!

    #21292
    Zoe
    Participant

    Adding post_content ?> to the template will probably do the job 🙂

    #21295
    Tyler
    Member

    I found the plugin – wish I knew what to do now. It’s all Greek to me. 🙁

    #21315
    Joyce Grace
    Member

    Hi Tyler (and thanks Zoe for helping out!)

    We don’t normally support that level of customization here on the support forums, but we do have a Themer’s guide that you could try out: https://theeventscalendar.com/themers-guide-to-the-events-calendar/

    I know the feeling of coding stuff looking like Greek 🙂

    However, you might want to consider hiring a developer (hmmmm…maybe Zoe?!) to help you out with this if it is really important. Our job as support reps is mainly to make sure our plugin works the way we promise it will work, not so much to customize it for folks, I hope you can understand!

    #21333
    Tyler
    Member

    “That level of customization” seriously? It sounds like you don’t support any level of customization on here (which is fine), but let’s be honest. It’s generally accepted that when someone purchases a Pro package that there is going to be some sort of customization support especially when there is a forum. I’ll take my request over to the Thesis and/or Genesis forums – I’m sure they’ll be more helpful.

    #21337
    Rob
    Member

    Hi, Tyler – thanks for the follow-up. I suspect this was the thread you were referencing when you called us the “worst support in the world” on Twitter today.

    Our general philosophy on the plugin, just so you’re aware and understand how we run support: we provide users a solid, fully functional plugin directly out of the box that we know for a fact works flawlessly in the flexible default 2011 theme. Beyond that – through our template tag documentation (at https://theeventscalendar.com/support/documentation ) and resources like the themer’s guide Joyce linked to above – we try our best to provide users with the tools they’ll need to succeed when using the plugin, so they can modify and integrate it as they see fit. If they have questions or get stuck along the way we are happy to point them in the direction best we can here on the forums…but we’re sadly unable to build user’s sites for them, or spend more than 15 minutes looking into a specific customization, in the interest of ensuring everyone gets a fair share of our limited support bandwidth. We hope that our users will either come into this with the basic WordPress development knowledge they’ll need to modify the plugin to meet their needs, or have access to a developer they can work with independently to get it done.

    It’s of course also worth noting that the forums you mentioned – Thesis or Genesis – are theme-specific, not for plugins. It’s reasonable to me that theme forums are a more appropriate place for customization discussions as largely users are customizing the theme in some capacity to begin with.

    In either case…while I think it’s a bit dramatic to say “worst support in the world” when it’s obvious by reviewing this thread that Joyce (and Zoe) were timely/helpful in getting you responses here, I’m sorry we let you down. If you think a refund is fair I’d be happy to process one for you. Just shoot an email over to pro /a/ tri.be.

    #21339
    Tyler
    Member

    For what it’s worth – I would not consider a request to include an excerpt as a “that level of customization” – it is a clear oversight that you include every option under the sun but do not include an excerpt or description of the event in the PRO widget. How is the PRO widget not an enhancement of the basic “Next Events widget” – can’t you see that someone dropped the ball there? Then you expect me to hire a developer to fix something in your widget that clearly should have been included? That’s all I’m saying. Sorry to be so harsh.

    #21341
    Tyler
    Member

    Rob – I appreciate that you are taking a personal interest in this request. This is a reply to your last tweet (probably already longer than 140 characters. :))

    All I need is to be able to show two events on the Next Event Widget. I purchased PRO because it looked like I would be able to have more options in the PRO widget (basically to show more than one event).

    But the PRO widget leaves out the “event text” or description, excerpt, etc that the Next Event Widget includes.

    My goal has always been to duplicate the output of the Next Event Widget so that I can show two events. I hope this makes sense.

    #21343
    Rob
    Member

    Thanks for the follow-up, Tyler. As I mentioned on Twitter I will get our developer Jonah to take a look here today and see if he can point you towards what has to be done. No guarantees since I’m not 100% it’s possible exactly like you want it…but we’ll do our best.

    On the philosophy regarding the widgets: the Next Event widget and the Mini Calendar widget are both plugins that were launched in 2.0 and by no means were considered 100% finished products; we just wanted to get them out there and will continue to modify them as we move into 2.1, 2.2 etc. Yours is actually the second request we’ve seen come through requesting inclusion of a description/excerpt in any of the widgets (the first user – https://theeventscalendar.com/support/forums/topic/startdate-and-desc-in-one-line-events-list-advanced-widget/ – seemed to be fine with the solution Jonah offered up on the template override side). So up until now there hasn’t really been much demand for it. That being said I could see the value for including such an option, assuming we could find a way to make it work fairly flexibly across a number of themes, if Jonah comes back and says its doable.

    #21349
    Jonah
    Participant

    Hi Tyler,

    I’m going to request that we add the option to show more events for this widget because it would be super easy to do and would appease many others including you. For now, your only option is to follow this guide on completely customizing your widgets: https://theeventscalendar.com/how-to-completely-customize-widgets/

    I actually provide instructions there on how to modify how many events are displayed right after this text: “And change ‘numResults’ to -1 instead of 1 which will bring in all events (or change it to however many you want to bring in (2, 3, 4, 5, etc.). So the code should now look like:”

    I hope that helps!

    – Jonah

    #21363
    Tyler
    Member

    I’m lost – Jonah – I looked at your tutorial and did a search on the file “widget-featured-display.php” and others and I can’t find the code you are referring to to change the count. It’s not in there. Is the tutorial dated? Am I missing something?

    #21364
    Tyler
    Member

    I mean, here’s everything and I don’t see anything that says “numResults”

    if ( !defined(‘ABSPATH’) ) { die(‘-1’); }

    $event = array();
    $tribe_ecp = TribeEvents::instance();
    reset($tribe_ecp->metaTags); // Move pointer to beginning of array.
    foreach($tribe_ecp->metaTags as $tag){
    $var_name = str_replace(‘_Event’,”,$tag);
    $event[$var_name] = tribe_get_event_meta( $post->ID, $tag, true );
    }

    $event = (object) $event; //Easier to work with.

    ob_start();
    post_class($alt_text,$post->ID);
    $class = ob_get_contents();
    ob_end_clean();
    ?>

    <a href="ID) ?>”>post_title ?>

    ID, isset($start) ? $start : null );

    if($event->AllDay && $start)
    echo ‘ (‘.__(‘All Day’,’tribe-events-calendar-pro’).’)’;
    ?>

    #21369
    Rob
    Member

    Hi, Tyler – it appears you haven’t yet copied over the contents of widget-featured.class.php, based on what I’m seeing above. See the section towards the beginning of Jonah’s tut called Copy The Original Widget code.

    I am seeing the code Jonah references within that file, on my end: http://d.pr/i/RPjT.

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Events Widgets’ is closed to new replies.