Forum Replies Created
-
AuthorPosts
-
May 16, 2016 at 10:16 pm in reply to: Make filter have no wrapper so that it isn't a dropdown #1115227
Brook
ParticipantHowdy Pete,
Please pardon the delay. I was not able to fully review this Friday like I had hoped.
There is only one thing that stood out to me in your code:
remove_action( 'tribe_events_filter_view_do_display_filters', array( 'Tribe__Events__Filterbar__Filter', 'displayFilter' ), 10 );In order to remove a method you will need to reference the class itself, not its name. So you will need to do Tribe__Events__Filterbar__Filter::instance() not the string ‘Tribe__Events__Filterbar__Filter’ .
Other than that nothing really stood out. Part of your code must be missing. I am not sure how you are actually instantiating this since the method addCustomHooks() will need to be manually called somewhere. That could have an impact on things.
I hope that helps get you pointed in the right direction. I am definitely here for specific questions. If this continues to give you trouble I would try to simplify it as much as possible. Strip out everything from your new class that you do not need to test if it is overriding. Often times while stripping things down to their simplest form it will just start working, then you can start adding things back until it becomes apparent what’s broken. If it’s still giving you trouble at its simplest state perhaps you could reshare the code and tell me specifically what you’re expecting to happen that’s not.
Cheers!
– Brook
Brook
ParticipantHowdy Todd,
Please pardon the delay. I ended up getting a bit swamped on Friday. I just tried to reproduce this and was unable to with your theme. I then tried to examine your site to see if there were any settings or clues that might help me reproduce it, and I noticed that your events are showing the map now. Any idea what you did that fixed it?
- Brook
Brook
ParticipantHowdy Kary,
I would love to help you with this. In short, all of what you want is possible. Depending on your needs some of it may require some modification, such as CSS or template overrides.
(1) Calendar widget: Ideally I’d like the list below the calendar grid to not be there at all and instead, have tooltips appear when an event is hovered over. But I understand this is functionality that isn’t there right now. Having said that, I’d at the very least like to LIMIT the number of events that appear. Unfortunately it seems you haven’t provided this option in the shortcodes. You’ve got it there for the calendar list, but not for the calendar (grid). IS IT POSSIBLE TO LIMIT the number of events that appear?
This is only an option in the widget by setting the count to 0. In the shortcode there is a problem with the WordPress API that is causing 0 to appear as empty or nonexistent, and thus the default is used instead which is 5. We are investigating how to workaround this in future versions of our plugin. Until then the best solution available is using CSS to hide the list.
(2) Also, I’d like NO EVENTS to appear below the calendar/grid if no events are present for that day. Again, I’m trying to mitigate the styling of that calendar grid. I don’t like it at all, and being able to control the list beneath the grid might help a little.
If you hide all events by setting the count to 0 it will not appear regardless of whether there are event on that day or now. So it sounds like the above might help you here as well. If you need more granual control than this you will need to modify the template using our Themer’s Guide.
(3) The other thing I don’t like (at least not each and every time) is the “box style” you provide for the date in the list calendar. It’s okay some of the time, but is just too big and bulky for a lot of treatments. I actually prefer the list style in the FREE version but don’t see a way to get that to appear without a tremendous amount of CSS hacks. Again, is there something built into the code that might make this easier to produce — not across the board — but on individual lists on the site.
I hear you there. Actually the box dates were included by popular demand, we had a large number of people vote on a feature request to put that design in all shortcode views. On the one hand we would love to make this an option you could enable/disable. On the other any options we add make template modification by users like you more obtuse, and we have to carefully weigh such things. Indeed our current options are a result of very carefully measuring usage and weighing this matter, not the result of a lack of development time. It is somewhat unlikely that the datebox will ever become a toggle you can show/hide. But if you are knowledgeable in WP then it is very easy to completely and elegantly hide them using a theme override . Or, if you prefer CSS you can easily hide them that way as well.
Does that all make sense? Will that work for you? Please let me know.
Cheers!
– Brook
Brook
ParticipantHowdy Miriam,
I would love to help you with this. I really appreciate the cropped screenshot of the problem area. Would it also be possible to get a link to your site where this is going on? I would like to test out some CSS fixes, and if that’s not possible see what HTML changes might be needed for this. Would that work?
Cheers!
– Brook
Brook
ParticipantHowdy Joe,
I would love to help you with this. When we say don’t offer “in-depth customization support” it’s just a short way of saying we can’t write the code for you. We are however happy to help point you in the right direction.
Have you seen the tutorial Understanding and customizing the Tribe Events Bar ? It is going to be very helpful here. In particular the section on adding views. As you can see there is a WP filter called ‘tribe-events-bar-views’ . This filter contains an array, and each item in the array is a list item on the views drop down. If you want to add/remove or just reorder the list, the easiest way would to overwrite the array. Instead of adding you view using $views[] = …; You could create a new array and return that instead. Order it however you want, include whatever items you want. Just attach it with an high priority.
Hopefully that all made sense. It will require some PHP knowhow to do this, but armed with that you should be golden.
Does that all make sense? Will that work for you? Please let me know.
Cheers!
– Brook
Brook
ParticipantSure! WooTickets is the old name for Event Tickets Plus. It was renamed late last year. So it actually be what you are looking for.
Hope that helps clarify things.
- Brook
Brook
ParticipantYou are quite welcome!
On last question (since i dont have a clue and want to try right now (and my motto is “learning by burning”)), how do you exit the function (return $wp_query)
Exactly! return exits the function. Since this function is attached to a WP filter it should always return some type of data. In this case it should always return a WP_Query object, which the $wp_query variable is.
Hopefully that makes sense. Cheers!
– Brook
Brook
ParticipantHello again,
We do not really have a submit an organizer page aside from the section included in the Add Events form.
I think I understand now how you are submitting the Organizer. I am reasonably certain Gravity Forms allows you to submit “Post Meta” along with the primary title and description. Assuming it does, then you will need to set it up to submit with the “meta key”
_OrganizerEmail
Detailed info on our Meta keys can be found here.
I wish i could be more specific but it’s been so long since I’ve used gravity form, I don’t even have a license anymore. You might ask them how to do this if you need detailed help. “Post meta” and “meta keys” are generic wordpress terms, so if you ask “how can I submit a value to a specific post meta key in my form?” they will be able to tell you. The key is _OrganizerEmail so just follow the steps for that key.
Please let me know if there is anything else. Cheers!
– Brook
Brook
ParticipantHappily! Also you might checkout this feature request. If you vote on it and share your email you will get notified of the current status each time it changes.
Thanks for getting back, the feedback is very helpful. Cheers!
– Brook
Brook
ParticipantHowdy Amin,
Doh! I have another idea here. We just found a conflict between our plugin and Post Types Order one, that causes 404s on this page. I see you are using that plugin. Would you mind temporarily disabling it? Now do a hard refresh on that page, or visit one of the other pages that should 404. Are you still seeing issues?
If the problem persists would you mind doing a full conflict test? This guide walks you through how to test for a conflict, and then identify what is conflicting.
Thanks! Let me know if you have any questions along the way. Cheers!
– Brook
Brook
ParticipantFor sure. The only thing I can see that I did not fully explain above is how to detect if you are on a given page. There are many ways to do this in WordPress, but the most general one is using the variable $_SERVER[‘REQUEST_URI’] . If you are on example.com/events/ that will equal “/events/”. So something like this added at the top of that snippet should work:
if ( $_SERVER['REQUEST_URI'] === '/custom-page-name/' ) return $wp_query;We are only able to give overviews here, not always specific code. But hopefully the above overviews will prove quite helpful, I got very specific in a number of areas. On that topic if you are copy/pasting the above code you might need to swap out the curly quotes for regular ones. Our forums here are powered by WordPress, and WordPress replaces regular quotation marks with the angled ones. Which of course PHP requires regular quotation marks, so sometimes copy/pasting won’t work.
Please let me know if you have any specific questions as you go Tommy. I would love to help as much as our terms of service allow. 🙂
Cheers!
– Brook
Brook
ParticipantYou are welcome Leora! I appreciate your getting back. Definitely let us know if you need anything else.
Ta!
- Brook
Brook
ParticipantHowdy Joelle,
I would love to help you with this.
I’ve seen some references to this here and there, but it’s not clear: are you able to create a custom field in events using Events Calendar PRO? My client needs to have an empty field for an OFF-SITE purchase link. I understand that there is an “event website” link which we could use in a pinch, but we’d rather leave that free. My client runs her registration for her classes off-site on another e-commerce solution, so we need to be able to link to that entry and utilize that custom field however we need to (preferably by placing a “Register Now” button at the top of the event listing somehow.
Yes with Events Calendar Pro there are custom fields available. A tickets website link would work great with these.
My client has been using Time.ly calendar and they have an option to subscribe to a calendar, regardless of category. It appears that you can only export the full calendar or an individual post. It is my understanding that with Filter, could filter the content by category, THEN click “Export Listed Content”. Is that correct? It would be great if there were an “add to Google calendar” option with this so it’s less steps for the user.
There are a number of ways to export events in an iCal with the default calendar and no Filter Bar. The four most common are:
- Export a whole months worth
- Export all upcoming events, usually limitted to 20 but can be adjusted
- Export a category’s events
- Export an individual event
With the Filter Bar you can export event more granual sets of events, such as all within a tag, from multiple selected categories at one time (in addition to the above where you can export all categories). You can play around with this here. If you click Show Filters, you will see the extra options available for filtering. Once filtered click export to just get the listed events.
The client would like to be able to embed her calendar widget on her off-site e-commerce website. Is this something offered somewhere with PRO? or another add-on?
We do not have a great builtin solution for this yet. It is a need we are working to address in the coming months. Until then this is very possible with a customization. If you are versed with PHP themes than you could make one of our widgets, or event the entire calendar views, embeddable as an iframe without the surrounding website appearing.
Does that all make sense? Will that work for you? Please let me know.
Cheers!
– Brook
Brook
ParticipantHowdy Leora,
I have never tried converting those directly. However our plugin does offer some pretty general import tools. The most generally useful one, which is included in the free plugin, is the CSV importer. If you can export your current data as a CSV then you can import it with ease. Typically it is quite possible to export a post and its meta data as a CSV, if you have never done this before I would just research it a bit to find a method applicable to how you’ve set things up.
If you prefer to try converting your Post data to a Custom Post Type you can certainly give it a whirl. We have documented all of our post meta fields here. You can use those keys to figure out where to put things.
Does that all make sense? Will that work for you? Please let me know.
Cheers!
– Brook
May 15, 2016 at 11:41 pm in reply to: “Previous Events” and “Next Events” links not working in List View #1114789Brook
ParticipantHowdy Kelly,
I would love to help you with this.
Would you mind logging in so I can verify your support access? Or, if you don’t have/want a license (which includes a year of support) you should checkout the volunteer community on WordPress.org: The Events Calendar. It’s not the same level of support, but it’s free! We even check those forums once each week and help to the extent we can.
Cheers!
– Brook
-
AuthorPosts
