Hello. Thank you for contacting the Toolset support.
As I understand - you added two buttons to your view one that should display the old events and one button that should display the future events. - is that correct? If yes:
- What view you are using - Are you using classic or block view?
- how exactly you have added those buttons?
If you can share admin access details and problem URL where you added your view I can review your current setup and that will help me to guide you in the right direction.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
So what if you create a two views - one view that should display posts in future and one view that should display old (past) posts and you should also create two pages and link the URL of those pages to the buttons.
I share you the straight forward way as with the filter it might require custom code.
And: can we sort about the date in field "eventdate"?
==>
Do you mean you want to compare the old (past) and future posts with the custom everntdate field and also want to order by everntdate custom field?
its just look like a simple event (cpt termine) listing orderd by "eventdate". Filter should be "future" -> all post from today, "past" -> all posts from today in past. "search" to search all events text.
Then with the "Custom Code" section offered by Toolset, I've added the code snippet "toolset-custom-code" and added the following filter code to it:
=> hidden link