John Sundberg
Forum Replies Created
-
And I just realized that archive-events.php in the title of this thread should have been archive-event.php
Marking as resolved…
Stephen,
After I thought about this overnight, it didn’t make sense that archive-event.php wouldn’t be working, so I thought the issue was somewhere in the custom post type code, and this is what I found:
In version 1.5.x, line 177 of includes/event-organiser-cpt.php you had changed
'has_archive' => true,
to
'has_archive' => $events_slug,
I changed that back to true, uploaded the modified file, refreshed the permalinks, and we’re back in business.
John
I just updated one of my development sites to WordPress 3.4.2. The site still has Event Organiser 1.4.2 installed, and events are displaying like they should.
Oddly enough, the taxonomy templates still seem to be working in 1.5.x, and single events are displaying correctly.
Marking as resolved.
Looks like that fixed it. Tooltips are back on and the calendar is rendering in IE8 and 7.
Thanks for the help!
I just now fixed the W3TC js error, I believe, and turned the tooltips off and it appears to be working now in IE8. I was liking the tooltips – think we can find a way to keep them on?
Stephen,
I’m not seeing any error messages anywhere, and this is on the front end calendar. I haven’t checked the back end since I never use IE for admin stuff…
I should also add, I’m using the Browser Mode in IE9’s tools to switch to IE 8 and 7.
Here’s a screenshot of what I’m seeing in IE8: https://db.tt/ps4JfUUe
And if you want to see it “live”: https://parkviewefc.org/calendar/
Thanks for working on this!
JohnFinally getting back to this and now I understand how the templating works in the Events List widget. ??
So a new question is can I use a conditional of some sort in the template? For example, if an event is all day it will say, “All day” rather than list the start and end times.
I’ve tried a couple ways but haven’t found a solution yet.
So the text box titled “Template (leave blank for default)” in the Events widget is actually for template tags and not the name of a template file?
Forum: Plugins
In reply to: Lightbox plugin for Videopress embedIf you’re still looking for a solution for this, I just wrote a blog post that might help: How to display a VideoPress video in a Widgetkit lightbox on your WordPress website
Using that technique and adding autoplay=true to the VideoPress shortcode will do what you’re looking to achieve.
John
Good question, and I see your point. I just looked through the wp-content/plugins/events-manager/widgets/em-events.php file and I think it would be possible to do what you’re asking, but I’ll leave that for the plugin developer. At least until my PHP skills are a little more developed!
Forum: Fixing WordPress
In reply to: WP 3.1 – Problem Insert/edit link ButtonI was having this issue on a new WordPress 3.2.1 install, and what finally worked for me was to download and extract a fresh copy of 3.2.1, and then FTP the contents of wp-includes to the server and replace the contents of wp-includes.
I did a write-up on my blog that explains what I did in detail to make this work, but here’s the short of it.
Download and open wp-content/plugins/events-manager/widgets/em-events.php for editing and add the following line at approximately line 15:
'category' => 0,// this adds 'category' to the widget's function
Then add the following five lines at approximately line 80, in between the
</p>
tag for “title” and the<p>
tag for “limit”:<p><!-- this adds the category option to the widget's form --> <label for="<?php echo $this->get_field_id('category'); ?>"><?php _e('Category ID','dbem'); ?>: </label> <input type="text" id="<?php echo $this->get_field_id('category'); ?>" name="<?php echo $this->get_field_name('category'); ?>" size="3" value="<?php echo $instance['category']; ?>" /><br /> <label for="<?php echo $this->get_field_id('category'); ?>"><?php _e('(separate multiple IDs by commas, or use "0" for all categories)','dbem'); ?> </label> </p>
Save, FTP back to your server, and you should be set.
The default setting is “0” for all categories, add one ID to show one category, and separate multiple categories with commas.
Check out my blog post for more details.