Home › Forums › Calendar Products › Events Calendar PRO › Events Widgets
- This topic has 13 replies, 5 voices, and was last updated 13 years, 9 months ago by
Rob.
-
AuthorPosts
-
June 28, 2012 at 10:10 am #21286
Tyler
MemberI 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.
June 28, 2012 at 11:02 am #21289Zoe
ParticipantHi, 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!
June 28, 2012 at 11:19 am #21292Zoe
ParticipantAdding post_content ?> to the template will probably do the job đ
June 28, 2012 at 12:29 pm #21295Tyler
MemberI found the plugin – wish I knew what to do now. It’s all Greek to me. đ
June 28, 2012 at 11:09 pm #21315Joyce Grace
MemberHi 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!
June 29, 2012 at 5:51 am #21333Tyler
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.
June 29, 2012 at 6:29 am #21337Rob
MemberHi, 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.
June 29, 2012 at 6:55 am #21339Tyler
MemberFor 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.
June 29, 2012 at 7:21 am #21341Tyler
MemberRob – 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.
June 29, 2012 at 7:38 am #21343Rob
MemberThanks 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.
June 29, 2012 at 12:22 pm #21349Jonah
ParticipantHi 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
June 29, 2012 at 4:28 pm #21363Tyler
MemberI’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?
June 29, 2012 at 4:31 pm #21364Tyler
MemberI 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’).’)’;
?>June 30, 2012 at 7:44 am #21369Rob
MemberHi, 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.
-
AuthorPosts
- The topic ‘Events Widgets’ is closed to new replies.
