Forum Replies Created
-
AuthorPosts
-
July 6, 2015 at 5:52 am in reply to: Custom Loop that Displays Month Headers and Conditionally Displays Categories #976035
Barry
MemberHi there 🙂
The loop itself lives is created in src/views/list/loop.php – but the logic for the month headers lives in the tribe_events_list_the_date_headers() function which is located in src/functions/template-tags/loop.php.
The implementation is slightly different to what I outlined in that it checks its position within the loop and access the previous post if one exists (rather than storing the information itself), but the basic idea can still be seen here.
I hope that helps – and good luck!
Barry
MemberExcellent!
Barry
MemberHi Rick,
The support team is here to help – but I should be clear that the level of support we can provide for things like customizations (which might include upselling/cross selling, in this case) is typically pretty limited.
Not sure what ticketing plugin means…My ecommerce site uses Swipe and PayPal
Ticketing plugins allow you to create tickets for events and sell those tickets. In our case, they require you to already be using an established ecommerce plugin such as WooCommerce, WP E-Commerce, Easy Digital Downloads or Shopp.
You can find out more here:
- theeventscalendar.com/tickets
- theeventscalendar.com/knowledgebase/new-user-primer-woocommerce-tickets
Last but not least, if you after reading through resources like our getting started guide (link above) you still feel the setup process would be too technical, you could certainly approach the support team for assistance.
If you simply want to pay someone to do it for you then that’s fine, too. We don’t actually provide that sort of service ourselves but there are plenty of freelance marketplaces where you can hire experienced WordPress devs who would find setup a breeze 🙂
Barry
MemberHi Rick,
Thanks for getting in touch and for considering our plugins 🙂
I need Pro in order to accept payments? Can a customer pay for my event using just Events Manager
You do not – however in addition to our free, core plugin you would also need a ticketing plugin to be activated.
Can I “upsell” other products while the customer is registering? Can I offer a free gift of their choice during the registration process?
Definitely, however, I’d add a caveat here – with regards to your note on not being a developer – that you may need to take advantage of other third party plugins that add this capability to WooCommerce (or to whichever ecommerce plugin you decide to use).
I hope that answers your questions, but do let me know if we can help with anything else.
Barry
MemberYep, there’s nothing unusual about the request as such – only the lack of the expected results in the (otherwise well-formed) JSON response is odd.
When you tried deactivating all other plugins and switching to a default theme, did you do this on a test site? Is that publicly accessible and is there any prospect of you providing the URL so I can take a look at things under “default conditions” (if not, might it even be possible to quickly set up such a site? … installing WordPress in a test directory, for instance, is usually a pretty fast job).
Let me know if that’s a possibility 🙂
Barry
MemberHi Harry,
I’m sorry to hear you’ve hit up against some difficulties.
The first thing that jumps out at me is that the URL you provided when you opened this topic does not match the domain name currently attached to your WooCommerce Tickets license key.
Have you changed the domain recently – and if you visit the license key management page and disconnect the WooCommerce Tickets license from its domain, do you find you are then allowed to activate it?
Let me know how you get on (do also note that, except for the ability to take advantage of automated updates, the functionality of the plugin will not be impacted by this issue) 🙂
July 3, 2015 at 6:46 am in reply to: Custom Loop that Displays Month Headers and Conditionally Displays Categories #975158Barry
MemberGreat questions! I do need to note however that the level of support we can offer for custom coding issues is fairly limited, but I’d be happy to point you in the right direction if I can 🙂
1) How would I write code that puts Month headers in the appropriate location so that a list of events can be separated by their start date month?
This is in fact what our own list view does, so looking at our code could give you an idea about this. At a high level, the logic is something like this:
- At the end of each loop, keep a record of the last event’s date
- When starting the loop, if we don’t have such a record it must be the first event: so display the header
- Otherwise, check to see if the current event is in a different month to the last event’s date: only display the header if that condition is true
2) How would I write a conditional statement that only displays the category if the category slug is “featured_event” or “mahasangha”
First you need to get a list of all the applied categories – you could possibly use tribe_get_event_taxonomy() for this (it returns a single string, so you might need to further break it down), though working directly with WordPress’s own get_the_terms() function may be cleaner (as it returns an array of terms) – if you take that route, please note the taxonomy slug for event categories is:
tribe_events_cat
Once you’ve got the list, you can loop through it and only display the terms you want.
I hope that helps 🙂
Barry
MemberHi 37designs,
I’m sorry to hear you’ve hit up against some difficulties.
It certainly looks like an unusual situation – for instance, various dates are highlighted (as if they have events) in the calendar widget, yet they are completely empty in the full calendar view itself (even though I am not in a specific category).
At the same time, I see events for those empty dates in list view … have you applied any customizations at all, perhaps targeting month view queries? If so, does stripping those out resolve this?
I also see you noted having tried our standard troubleshooting steps when you first created this topic – what was the outcome of those tests?
Thanks!
Barry
MemberHi!
It’s been a while so I’m going to go ahead and close this topic.
- Need help with anything else? Go right ahead and post a new topic, one of the team will be only too happy to help
- Still need help with this issue and need to re-open it? Again, please simply create a new topic and link to this one to provide the team with some context
Thanks!
July 3, 2015 at 6:18 am in reply to: Fatal error: Call to undefined function tribe_is_week() #975138Barry
MemberHi!
It’s been a while so I’m going to go ahead and close this topic.
- Need help with anything else? Go right ahead and post a new topic, one of the team will be only too happy to help
- Still need help with this issue and need to re-open it? Again, please simply create a new topic and link to this one to provide the team with some context
Thanks!
Barry
MemberNo problem, glad you’re on track 🙂
Barry
MemberHi Shiela,
So far I haven’t been able to see the problem myself but it is apparently sporadic.
I do notice that you appear to have a fairly high number of events that are allowed to show per day, in addition to enabling Month View Caching (which I believe you already did) can you try reducing this to something like a maximum of 3 events per day?
That may not be ideal, but if for instance you were able to do it for a week or so and it led to no more reports of white screens coming in that would give us a much better idea as to the nature of the problem. I’d also like to clarify one other thin from your original topic:
We just updated our website with a newly designed theme.
Was this problem triggered following a theme update, or did it coincide with the 3.10 release of our own plugins (I realize both may be true)?
Thanks!
Barry
MemberI’m glad you are able to workaround this – we are aware of a few areas where we’ve fallen short and hopefully, with the help of the community, we’ll be able to improve in this area shortly.
Barry
MemberHi Kirsty,
Depending on how much control you need, perhaps one of these two knowledgebase articles will provide you with a solution:
- theeventscalendar.com/knowledgebase/filtering-to-show-woocommerce-tickets-prices
- theeventscalendar.com/knowledgebase/use-the-event-cost-field-with-tickets-installed
Do either of those help here?
July 2, 2015 at 1:34 pm in reply to: Database error after Update to The Events Calendar PRO Version 3.10.1!!! #974835Barry
MemberI’m sorry to hear you have hit up against difficulties after updating, Stefan.
Can you confirm where you are seeing that error? Is it in the admin environment, or are you seeing it on the frontend (where if so)?
-
AuthorPosts
