Forum Replies Created
-
AuthorPosts
-
Barry
MemberHi ironandsteel,
It sounds like you’ve got the right idea: you should define a function or functions that do what you want and then hook them in. I’m not sure why you are ending up with an internal server error, however – are you able to inspect the error log or else can you share the code you have put in place? We’d be happy to take a quick look, though we can’t offer any guarantees since we’re in custom development territory here.
Note also (though it may not meet your needs) as of 3.2 a new filter – tribe_events_event_schedule_details_formatting – is available which can be used to customize aspects of tribe_events_event_schedule_details() function’s output without intercepting and overriding it completely.
Thanks!
Barry
MemberNo problem martinborgs: are you all sorted here or do you need further help at all?
Barry
MemberHi Els – the plugin comes complete with translations for numerous languages – can you confirm what language you are using here and if you configured WordPress to use it?
November 12, 2013 at 3:56 pm in reply to: View As function not working and Mega Menu does not display #75939Barry
MemberHi abfederation:
WordPress itself contains a library known as jQuery which is used by WordPress and plugins like our own for various purposes. The minimum version of WordPress supported by The Events Calendar is 3.6 and so requires jQuery 1.8.3 as a bare minimum.
Your site is using jQuery 1.6.4 which is a comparatively old version of the library and very likely is causing problems here. Sometimes themes or other plugins forcibly stop WordPress from using its supplied copy of jQuery and replace it with one of their own choosing – quite possibly that is what is happening here.
So, in the first instance, if you could try deactivating all other plugins and switching to a default, unmodified theme like Twenty Twelve that would be a great starting point. If the calendar then works as expected, start reactivating everything and test at each stage to see if the problem has returned – this should help to narrow down the “culprit”, if there is one.
Beyond that if you could post your System Information from the Events > Help admin screen that would be terrific.
Thanks!
Barry
MemberHi digitalbyjess: your first stop should be the Themer’s Guide (link over on the right under Useful Resources) which outlines the basics of overriding and customizing our views and templates.
With that done, please set up a custom list/single-event.php template based initially on the original. Locate this line:
<?php echo implode( ', ', $venue_details) ; ?>Change it to:
<?php echo implode( ' ', $venue_details) ; ?>Does that help here?
Barry
MemberHi Bart – a great place to start is with our Themer’s Guide (link over on the right, under Useful Resources) which lists the various templates that make up each view and describes the basic process for safely overriding and customizing them 🙂
Barry
MemberHi Denise: you’re absolutely right and this is actually already on our bug tracker as we caught it earlier on – however it is still, unfortunately, pending a fix. It is a pretty high priority for us though as you can imagine and we’ll endeavour to resolve it as quickly as possible.
Barry
MemberHi oriongroup,
We don’t typically see this so I wonder if it is a conflict relating to your theme or another plugin. In the first instance can you try disabling all other plugins and reverting to a default, unmodified theme (such as Twenty Twelve) and see if the problem persists in those circumstances?
If that resolves the issue, try reactivating everything one-at-a-time and checking at each stage to see if the problem has returned. This is a great way of isolating conflicts and zeroing in on possible causes.
Hopefully we can get to the bottom of this that way, but if not please also include your System Information – as made available via the Events > Help admin screen – in your next reply.
Thanks!
Barry
MemberHi Denise: when no events are returned a 404 status is indeed set – that’s because no event posts were found and so this actually parallels the behaviour of WordPress itself (if a query is received for posts but no matches are found) – the difference in your case is that it looks like, in the case of your theme, this also triggers a visible notice to alert users to the fact.
I think the best way forward would to be to see if there is an easy solution by changing the template choice in Events > Settings > Display. Otherwise you would need to investigate customizing your theme (and you might wish to touch base with your theme vendor about doing so) to avoid this message displaying whenever a 404 happens to coincide with an events-related page.
On our side, the following code can be used to detect if a page relates to events:
if ( tribe_is_event_query() ) { /* Do magic */ }Hope that helps 🙂
November 12, 2013 at 2:38 pm in reply to: Date reset to the date of the day when i modify something else in my events #75911Barry
MemberThat sounds very much like a conflict. Though I see when you opened this thread you noted that you have already tried deactivating all other plugins and reverting to a default theme – but can you confirm what impact that had on this issue?
Can you also share the System Information (found in the Events > Help admin screen)?
Thanks!
Barry
MemberHi Denise, that’s strange.
Can you post your System Information (from the Events > Help admin scree) and also confirm if deactivating all other plugins and switching to a default, unmodified theme resolves this? It would be great if we could isolate whichever component is conflicting, assuming that’s what’s happening here, and take things from there.
Cheers!
November 12, 2013 at 2:20 pm in reply to: Where Do You Change the H3 in the Grid View to just plain text? #75900Barry
MemberHi lifeincorona – overriding and then customizing the month/single-event.php template (you should see the <h3> containing the event title on line 27 if it hasn’t been modified at all) is probably your best bet – required reading (!) before you do so is our Themer’s Guide:
https://theeventscalendar.com/support/documentation/events-calendar-themers-guide/
Hope that helps!
Barry
MemberIt may come down to building a set of custom CSS rules to accommodate your theme’s own structure / gel nicely with it’s own style rules – our Themer’s Guide covers the basics of setting up a stylesheet for this purpose.
Have you also tried switching to the Default Page Template (via the Events > Settings > Display admin screen)>
Barry
MemberHi lisadavies: can you confirm if the snippet is still present in your theme’s functions.php file? Best I can tell it should still work as expected, so one possibility is that you also updated your theme and your functions.php file was overwritten (in which case, you could either set this code up as a plugin or make the change from within a child theme – or otherwise follow your theme vendor’s instructions for adding custom code instead).
Does that help at all?
Barry
MemberHi masspeaceaction: this does indeed look like a bug and we probably should be doing pretty much as Andy suggested to avoid this. We’ll get it on the tracker and sort something out over the course of the next few releases.
Thanks for reporting (and thanks for your help, Andy) 🙂
-
AuthorPosts
