Forum Replies Created
-
AuthorPosts
-
Barry
MemberAwesome – and thanks for sharing that link (…if anyone else comes across this topic and feels the same, definitely do up-vote the above request!).
Thanks again π
Barry
MemberHi immeemz,
I’m sorry you’ve hit up against difficulties, here.
There is currently a bug which means the US states dropdown does not disappear as expected when a country other than the United States is selected. We hvae this logged and it ought to be addressed in a subsequent release π
I attempted to edit /the-events-calendar/lib/tribe-view-helpers.class.php to add the Provinces above the states
Modifiying core plugin code is rarely something we’d recommend. It may be possible to add a dropdown of Canadian provinces and territories (and indeed take a similar approach for various geographies) but, at this time, the provided means of doing this is a simple text field.
We’re always open to new ideas, though, so if you’d like to propose we offer dropdown functionality for countries other than the US please do post a note on our UserVoice channel (that way others can show their support for the idea) or indeed if there is a suitable existing request you can up-vote it.
Thanks again!
February 18, 2015 at 7:16 am in reply to: Hook into Filter Bar's "Event Category" to achieve WPML translation #943295Barry
MemberHi Sean:
The values used to populate any filter – including the categories filter – can themselves be filtered (using a filter in the WordPress sense, that is):
add_filter( 'tribe_events_filter_values', 'customize_cat_filter_values', 10, 2 ); function customize_cat_filter_values( $values, $filter_slug ) { // Only interfere with the category filter if ( 'eventcategory' !== $filter_slug ) return; // Loop through the values and modify them foreach ( $values as &$single_value ) { // Obviously, change the following line to actually translate the text // using whatever means are appropriate/easiest here $single_value = "ALTERED $single_value"; } }The above highlights the basic sort of strategy you might use (and could be added either to a custom plugin or your theme’s functions.php file, depending on your preferences).
I hope that helps!
February 18, 2015 at 6:54 am in reply to: Mobile View Issue: Days of week not shortening and dots not opening events pages #943291Barry
MemberHi culturecheese π
Can I ask first of all that you avoid private replies unless you are sharing confidential information? Topics like this could be useful for others in a similar position in future, but by marking all your replies private it makes it much harder for others to read through and get value from the topic — thanks!
So the next issue is that you have two different versions of jQuery being enqueued. This is triggering a type error and breaking various things as a consequence. What I’d strongly recommend is that you use just the version that ships with WordPress: that way, so long as you are running a supported version of WordPress, it is guaranteed to be a version that our plugin can work with.
If you really need to use this earlier version you can try it by itself, but you’ll have to take care of preventing the version that ships with WordPress from being enqueued at the same time.
Let me know if get to the point where you actually need access to the files too. We appreciate your continued assistance.
I’m not sure that would be appropriate in this case.
Of course we’re always happy to try and point you in the right direction and highlight any obvious problems (and hopefully resolving this last issue with jQuery will get us where we need to be) but ultimately what we’ve been doing in this topic is addressing a set of no-nos within your custom theme rather than failings in our plugin.
Really it is the theme author’s responsibility – whether that is you or someone working on your behalf – to bring things into line with current best practices and I wanted to highlight that just because, I’m afraid, we’re beginning to reach the limit of how much support we can offer for this set of issues.
In any case, hopefully sorting out the jQuery issue is the last hurdle and resolving that will fix things up nicely π
Let me know how you get on!
February 17, 2015 at 7:45 pm in reply to: Mobile View Issue: Days of week not shortening and dots not opening events pages #943219Barry
MemberOK, so that gets us closer and you will probably want to review your modified loop-grid.php template before restoring it once we’re done troubleshooting: though your changes there weren’t solely “to blame”, it certainly looked as though they would have triggered this by themselves even if nothing else was amiss.
It does seem something else is compounding things, though, and my next suggestion is to check that your theme includes a wp_footer() call. Just as with body_class() it is a best practice for themes to include this and omitting it is likely to cause problems with various plugins and even the normal operation of WordPress.
Does that help?
February 17, 2015 at 11:49 am in reply to: Preventing line breaks between time and "am" and "pm"? #943139Barry
MemberIf you use theΒ tribe_events_event_schedule_details filter (or possibly the tribe_event_formatted_date filter) you’d either need to do some clever work with PHP’s string functions or else leverage regular expressions … but, unfortunately, it is rather out of the scope of support we can provide here to work through that one.
With that in mind I’ll go ahead and close this thread – but I do wish you luck and we’ll look out for any feature requests π
Barry
MemberNo problem, we typically let topics sit for around 2 weeks before closing them (assuming they receive no updates in that timeframe) π
Barry
MemberI apologize for my English by google.
No problem!
Could you recommend some theme compatible with woocommerce, unfortunately I spent a lot of money without concluding anything.
I don’t have any particular recommendations to offer, I’m afraid.
In a theme marketplace such as Template Monster or Theme Forest any WooCommerce-compatible themes usually draw attention to this fact somewhere in their description.
On our end, we always test against the default themes that ship with WordPress and of course WooThemes themselves are likely to be a good source of WooCommerce-compatible themes.
I hope that helps!
February 17, 2015 at 8:37 am in reply to: Preventing line breaks between time and "am" and "pm"? #943081Barry
MemberNo problem, yes that’s a good example – interestingly enough, it shows up in Chrome but in Firefox it is fine.
So I mean I can definitely see what you’re getting at and if you’d like to post a feature request we would definitely consider a future change, right now though I’m afraid a customization is really the only way to deal with it in the short term (unless you can tweak your theme to widen the sidebar area or something of that order).
February 17, 2015 at 8:08 am in reply to: Mobile View Issue: Days of week not shortening and dots not opening events pages #943063Barry
MemberAm I correct in thinking you have overridden and customized the month/loop-grid.php template and if so can you try restoring the original and see if that corrects this behaviour?
It looks as if various elements that I would normally expect to be present are absent and in this case that means the abbreviated day names cannot be displayed.
Barry
MemberI’m sorry, Amedeo, but I’m not sure I understand.
- Is the problem that tickets do not show up in the WooCommerce storefront?
- Are you trying to turn tickets into variable products and is the issue that you are not seeing those variables within the ticket form?
- Can you share any URLs that would help me to understand what you are describing?
Thanks!
Barry
MemberI can definitely appreciate that and if you go ahead and post on our wordpress.org forum that is probably the best course of action (at least until you purchase a license and can take advantage of our PRO forums).
Thanks again π
February 17, 2015 at 7:44 am in reply to: Preventing line breaks between time and "am" and "pm"? #943050Barry
MemberHi!
The reason for this particular breakdown isn’t related primarily to visual presentation but microformat compatibility. You can certainly modify things to suit your particular needs, though:
- The tribe_events_event_schedule_details filter will let you override the schedule information with your own HTML
- You could alternatively override the single-event.php and any other relevant templates (see our Themer’s Guide for more on this approach) and replace any calls to tribe_events_event_schedule_details() with a custom function of your own that does structure things how you would like
Whether you take a filter hook based approach or write a custom function and add it straight to some customized templates, you might also be interested in functions like these:
By customizing things you will be able to take complete control and structure this information however you wish (and so apply CSS formatting to meet your needs) π
Out of interest, do you have a live example where the lack of such a span element around the start time is causing the same problem you were having with the end time?
Barry
MemberHi Gilles,
It’s great to hear you’re thinking of purchasing a license – besides providing you with access to Events Calendar PRO and our official support forums it is a fantastic way to support the project π
Here on the pre-sales forum, though, I’m afraid we do not provide technical support. Once you have a license you will certainly be welcome to post on our PRO forum, but until that point I would ask that you take any technical support questions across to our wordpress.org forum – our staff scan it periodically and other community members may also be able to help out.
Thanks again!
Barry
MemberHi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!
-
AuthorPosts
