Forum Replies Created
-
AuthorPosts
-
March 24, 2014 at 9:05 pm in reply to: Possible to filter the events in sidebar widget by tag? #122767
Barry
MemberAnything is possible! However, to tweak the existing widget in this way would indeed be a fairly inelegant solution at this time.
On a programmatic level you can change the properties of the query used to build the list using the pre_get_posts hook that is built in to WordPress – and you could effectively inject tag-related query parameters by doing so. What you’d need to take a little time and care over is doing this in such a way that it impacts only on the widget output and not other queries, event related or otherwise.
Added to that, I’m not sure if you’re consistently going to be querying for a particular set of tags or if you need the ability to set them from within the normal widget settings interface, as is possible with the calendar widget. That adds another layer of complexity – again it’s achievable, but makes this a more complex customization.
With that in mind it is unfortunately not something we can help you with right at this time – but please do consider posting a feature request as we’re more than happy to consider ideas like this and it gives other members of the community an opportunity to show their support for the idea or add further comments to help flesh it out.
Since I can’t do a lot more in the short term I’ll go ahead and close the thread – of course if we can help with anything else please don’t hesitate to create new threads as needed.
Thanks again.
March 24, 2014 at 8:56 pm in reply to: Upcoming Events List Duplicated Date for Recurring Events #122763Barry
MemberHi invex09,
Do remember that some resources like that one are not intended for use with our current builds, hence the warning at the top:
Please note that all documentation below is for The Events Calendar 2.0.1 through 2.0.11. Documentation for version 3.0 and beyond is available on our main documentation page.
In this case might it be easier to use the existing list widget, tweaking it as appropriate to meet your needs? We’d love to know why it isn’t fitting your requirements.
Thanks!
Barry
MemberIt seems that the standard functionality is that The Events Calendar will grab a page template but won’t actually grab the custom field data or content from a page set up in the WordPress back-end that has the same slug as that set for the “Events URL slug”.
That is indeed expected behaviour. Right now the ability to add full views via shortcodes is a much requested but not currently implemented feature: please do feel free to add your support for this over on our UserVoice page, though. While already a popular request more voices in favour is certainly no bad thing 🙂
You can embed full views, though, using tribe_get_view(). The caveat is that you must also ensure the view is supported by the presence of the same Javascript and CSS assets that would normally be present – for that reason this is currently deemed an advanced customization that, while open for you to explore, is not something we can assist with.
Barry
MemberNot just yet I’m afraid – but we have this on our to-do list!
March 24, 2014 at 8:46 pm in reply to: Possible to filter the events in sidebar widget by tag? #122749Barry
MemberHi hcoulson!
Is it basically the same capabilities as currently exist for the calendar widget that you’re seeking here? If so definitely do post a request/add your support to a suitable existing request on our UserVoice page and we’ll be more than happy to consider this 🙂
Thanks!
March 24, 2014 at 8:42 pm in reply to: Conflict between code hiding unnamed venues and that stripping links from Venues #122745Barry
MemberHi! Can you remove both of those snippets and instead add this one (which is basically a variant of the one Casey provided earlier)? It should remove the link while preserving the name, unless the name is Unnamed Venue – in which case it should remove it entirely.
Does that help?
Barry
MemberIn this case I think access would certainly be useful. Can you share credentials via a private reply (once we get them we’ll remove them as an added precaution). Thanks!
March 24, 2014 at 8:30 pm in reply to: Facebook Event URL instead of generic Facebook Page URL? #122736Barry
MemberHi Andrea: would this snippet (which you could add to your theme’s functions.php file, for example) work for you? Note that it would in most cases add a new Website field in the event details section and leave the organizer URL untouched.
Let me know!
March 24, 2014 at 8:12 pm in reply to: Question About Editing Events on Facebook and Events Prior to Facebook Extension #122733Barry
MemberHi Andrea – fantastic!
My question is, will future events manually added to the calendar still be there once the auto upload is setup and imported?
Anything you have already imported will remain. Similarly, if you set up auto-import but circumstances arise where you need to import an event immediately for some reason you can do so. Auto-import will run at the next scheduled interval and will simply skip that event.
Also, if set to auto hourly, if they edit an event on Facebook, will the hourly auto update include edits for existing events?
No: if an event has been imported then that is that – it does not attempt to keep all events in sync (over time, with a large number of imported events, this would add up to a lot of often unnecessary work having to be handled by your web server).
Does that answer your questions?
March 24, 2014 at 8:03 pm in reply to: Adding a download in addition to printing the ticket. #122730Barry
MemberHi jbusciglio: unfortunately this looks like a valid bug – we’ll do our best to fix it as quickly as we can. Please accept our apologies for any inconvenience in the meantime.
Barry
MemberHi – that’s a lot of questions! Let’s deal with your query about template overrides here and if you can post separate threads for the remaining issues that would be awesome – it helps us to provide faster responses (more than one team member can work with you) and helps avoid confusion.
I’m trying to customizing the views because I need to adapt them to my theme, expecially list, map and photo. May I ask you which files I should editing? views files are not enough right?
This is summarized in our Themer’s Guide – the essence of it though is that you would set up a new directory called tribe-events within your existing theme directory, something like this:
wp-content/plugins/themes/twentyfourteen/tribe-events
Of course, unless you are indeed using the Twenty Fourteen default theme that will be slightly different in your case. If you then want to override a template such as the list/content.php template, which is normally found at:
wp-content/plugins/the-events-calendar/views/list/content.php
You would copy that and place it in your new tribe-events directory, for example:
wp-content/plugins/themes/twentyfourteen/tribe-events/list/content.php
Does that clarify things?
Barry
MemberHi: I’m sorry you’re hitting difficulties. I don’t see an event that incorrectly spans July 1/2 right now – have you since resolved this? Or could you re-add a suitable test event so I can see what’s happening?
Thanks!
Barry
MemberHi! Would the following tutorial be helpful for you here?
https://theeventscalendar.com/remove-calendar-image-from-calendar-widget/
March 24, 2014 at 5:17 pm in reply to: Showing different number of events in different views #122690Barry
MemberNo worries, there are a few glitches with the forum at present and we’re addressing them as quickly as we can – apologies for any confusion that stemmed from the preview.
Showing 50 pinmarkers but only 8 events is probably possible – but it’s going to be a comparatively advanced customization that, realistically, is beyond what we can help you with here.
Selectively applying the snippet you referenced, though, so it’s only used on map view probably is a little easier: could you try adding a call to tribe_is_map() at the start of your action function and, if it returns false, simply bail out? For example:
function set_events_per_page( $query ) { if ( ! tribe_is_map() ) return; /* ... rest of your code ... */ }Would that work for you here?
Barry
MemberHi Jim.
If you add a description for the relevant categories (which could contain the bio) and also add this snippet to your theme’s functions.php file that should allow you to display some category specific text on month view etc, whenever it is used to display that category.
Hope that helps – but let me know if you have any other questions 🙂
-
AuthorPosts
