Forum Replies Created
-
AuthorPosts
-
Barry
MemberExcellent!
I’ll go ahead and close this thread in that case, but do feel free to open new threads as needed if you need any further assistance and – if you have a moment – we’d also love to hear your thoughts on The Events Calendar so far 🙂
Thanks again!
Barry
Memberas for your idea it worked for eliminating the filter but the month navigation is still on the page (the little link with month and two arrows [july>>])
Oh I see, yes that would require a further step.
You’ve basically got the right idea, though – except instead of tweaking month/nav.php I would suggest simply adding an empty file of that name to your theme, ie:
wp-content/themes/YOUR_THEME/tribe-events/month/nav.php
If this file is completely empty then the previous/next month links should no longer appear. Does that help?
Barry
MemberOK – I think the problem is that – in the case of your site – the calendar widget isn’t behaving as expected due to a Javascript error (not with the widget itself, but rather with some other component of your site … and that in turn is impacting on the calendar widget, stopping it from functioning as it normally would).
I notice you marked having already tried deactivating all other plugins (except The Events Calendar and Events Calendar PRO) and also switching to a default, unmodified theme such as Twenty Thirteen.
Can you confirm what the outcome of that test was? Did the calendar widget work as expected – ie, clicking on a day with a dot took you to a view of events on the corresponding day?
If so, did you manage to determine the source of the conflict? I do see for example that your theme replaces the default copy of jQuery that ships with WordPress with its own, so I wonder if that or some other JS-related problem is impacting here.
Let me know!
Barry
MemberAwesome – glad you figured everything out (and thanks for sharing the updated solution – definitely appreciated as it makes it easier for others researching similar issues in the future) 🙂
I’ll go ahead and close this thread, but of course if we can help with anything else please don’t hesitate to create new threads as needed.
Thanks!
July 3, 2014 at 10:39 pm in reply to: Events Added to Main Loop; Loop Modified; Orderby Broken #274118Barry
MemberOK. Could you try adding this short snippet to your theme’s functions.php file:
add_action( 'pre_get_posts', 'reorder_events_in_blog', 100 ); function reorder_events_in_blog( $query ) { if ( isset( $query->tribe_is_multi_posttype ) ) unset( $query->tribe_is_multi_posttype ); }Does that help at all?
Barry
MemberHi Peter,
Yep that clarifies things. I’m interested in this remark, though:
At the moment we are looking at setting a best estimated time to start but when you dont have an end time showing the system currently sets the same time so you see two lots of the same time?
That shouldn’t happen. If the end time is the same as the start time, only the start time should display. I tried to find an example on your site (using the URL you shared when you opened this thread) but it doesn’t seem like that relates to a WordPress-driven website … is there any way you can point me to a live example? Which views are you seeing this on (where the end time is displayed, despite being identical to the start time)?
Thanks!
Barry
MemberExcellent, I’m happy we could help 🙂
I’ll go ahead and close this thread in that case but of course if we can assist with anything else please don’t hesitate to open new threads as needed. Last but by no means least we are always keen to hear your thoughts on The Events Calendar and if you wanted to leave a review that would be much appreciated.
Thanks again!
Barry
MemberHi – great question!
A great starting point is our Themer’s Guide which covers the basic process for safely overriding and customizing our plugins’ templates.
Basically, in this case, you would create your own copy of our views/modules/details.php and locate it at:
wp-content/themes/YOUR_THEME/tribe-events/modules/details.php
Then you would locate the following line of code:
<dt> <?php _e( 'Cost:', 'tribe-events-calendar' ) ?> </dt>Simply change it to:
<dt> Donation: </dt>Does that help?
Barry
MemberHi Peter:
in the admin when setting the events with the date picker I see 2014-05-01 which is also the way it shows in the events list in the admin.
In the event editor the datepicker always used a yyyy-mm-dd format. This isn’t a bug – it’s intentional – but if you feel you’d prefer it to follow the prescribed format set for the datepicker in the Events > Settings > Display admin screen we’d definitely be open to any feature requests you might post (or you could upvote any suitable existing requests) 🙂
In the actual list of events (in the admin environment) it actually ought to respect the event without year date format setting if it is an event taking place this year – so it sounds like perhaps something is going wrong in your case.
Can you confirm what format you are using for that setting?
Are you also able to run through our standard troubleshooting steps (disabling all other plugins but The Events Calendar/Events Calendar PRO) and switching to a default, unmodified theme? Does that help/allow you to identify any conflicts that may exist?
Barry
MemberHi Peter,
Thanks for the questions. We do try to stick to one issue per thread though – so let’s deal with the first question here and if you need help with anything else (like APM) please do create new threads and one of the team will be only too happy to help 🙂
1. I have been asked if there is a way to toggle on or of the end time for events. Is this possible and if so what is the solution?
Not as such – but can you confirm where you want this to happen? Is it only in the context of viewing a single event page that you wish to hide the end time – and is setting the end time so it is the same as the start time for any relevant events a workable solution?
Barry
MemberHi – I’m sorry you’re hitting difficulties.
When I visit your main events page and navigate to the upcoming events list it looks as if you currently have zero future events, which of course means any single event URLs will indeed result in a 404 not found error (unless they relate to pre-existing events which have now past). On reviewing your past events list they all seem to work as expected.
Can you add a test event in the future and let me know which date it’s taking place on so I can take another look?
Thanks!
July 3, 2014 at 2:59 am in reply to: Events Added to Main Loop; Loop Modified; Orderby Broken #270234Barry
MemberHi!
WordPress is treating the EVENT START DATE on every tribe_events post type AS THE PUBLISHED DATE. This is very, very confusing. If I wanted this behavior, I would use tribe_get_events.
So can you confirm what the ideal behaviour is in your case? We do deliberately have code in place to ensure that if events are integrated into the main blog loop they are ordered as you have described (this is intentional rather than being a bug).
Barry
MemberHi – I’d be happy to take a peek at your code – can you share what you tried with your custom related-events.php template? If you could do so via Pastebin, Gist or some similar service rather than by posting it directly into the forum that would be great.
Thanks!
Barry
MemberHi – great question!
If I’m understanding you correctly I think all you need to do is edit the widget and set it to show 0 (zero) events.
Does that help?
Barry
MemberHi!
Our Themer’s Guide is well worth reading if you’re not already familiar with setting up template overrides and customizing the calendar generally – but if I’m understanding you correctly then perhaps all you need to do is override the main month.php template and remove the following line:
<?php tribe_get_template_part( 'modules/bar' ); ?>Does that help in this situation?
-
AuthorPosts
