Hi
on WP 5.0.1 + Latest Toolset + Modern Tribe Event Calendar 4.7.1 I can't create a Toolset view that would use the Modern Tribe Event Calendar custom fields as seach filters.
Thanks
cyril
The short answer is it's not usually possible to use Tribe fields as custom search filter criteria in a View. A custom field must be managed by Types in order to use it as a front-end search filter in Views. Tribe event fields are hidden, so Types doesn't have the ability to manage them. Futhermore, Tribe stores event dates in a different format than Types date fields, so even if the date fields are managed by Types they aren't compatible with date operations in Views. In order to use Tribe event fields successfully in Views, you would have to use custom code to copy those values into a duplicate Types custom field, formatted correctly, whenever the Event post is saved.
If you only want to filter the View on the backend through wp-admin, then it's possible to use some of these fields as filters by implementing the wpv_filter_query API. I have an example if you'd like to see how that works:
https://toolset.com/forums/topic/date-comparison-error-with-tribe-events-calendar-after-update/
Again, this is only for Views filtered on the backend, not front-end filtering.
Hi Christian
Thanks it is clearer now.
Switching from joomla to wordpress is partly motivated by the fact wordpress plugins share a more colon basis with custom content types and fields.
If we can't use toolset with tribe event calendar and if you don't provide a calendar view which other event managment plugin do you recommend please ?
Thanks
Cyril
Unfortunately we don't have an official recommendation. There is no Toolset built-in integration with any particular event management plugin, but you might try searching the forums for any other plugin names to see what other Users have experienced and reported. You can do this by typing somthing like the following into the Google search bar:
site:toolset.com "Plugin name in quotation marks"
Hi Christian
I see but we definitively have a model issue here. I can't understand why Toolset provides a gmap view but no calendar view.
and please correct me if I'm wrong but if I understand you well Toolset views can filter on plugins fields if they respect some wordpress rules ?
I mean custom content types and custom fields are part of WordPress core, right ? So if the third party plugin implement these custom posts and fields as expected , Toolset Views can manage them ?
thanks
cyril
After some new tests with toolset and Tribe event calendar, I see I can add the hiddent fields in ToolSet settings but even in this case I can't change the way a single event is displayed
Even if I create a content template where I only put
[wpv-post-field name='_EventStartDate']
The front end result shows this custom output with the rest of the standard Tribe event output.
My MAIN concern is, as you may have understood already, what is the best way of working with WordPress / toolset and third party plugins ?
thanks
cyril
My MAIN concern is, as you may have understood already, what is the best way of working with WordPress / toolset and third party plugins ?
There is no single answer that applies in every case. Some third-party plugins have proprietary database tables where they store custom field values. Some inject content in ways that are non-standard, so Toolset's filters do not affect them. In general:
- Toolset can access any public custom fields that are stored as non-serialized postmeta entries.
- Toolset dates are stored as Unix timestamps, so other date formats are not supported.
- Toolset's Content Templates work by filtering the_content(). If a third-party system injects content outside of the_content(), it may not be controllable by Toolset's template system.
Ok Thanks Christian for these explanations
In this case, if the programming of WP plugins is not that constraining I believe you have no other choice than proposing a "set of tools" that cover as far as 100% of the regular needs.
The calendar view is one of those features
Thanks
Cyril
In this case, if the programming of WP plugins is not that constraining I believe you have no other choice than proposing a "set of tools" that cover as far as 100% of the regular needs.
I do not understand what this means, sorry! If you'd like to see new features added to the software, we have a process for handling those requests. You can begin by submitting the feature request form here: https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/
Those requests go to Amir, and he will evaluate them to see if it's something we can offer.