Hello. Thank you for contacting the Toolset support.
That is strange, it should work with AND clause.
Can you please share problem URL where you added the condition and admin access details so I can check whats going wrong with your setup.
*** 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.
Can you please check now - I've adjusted the conditional statement as well as removed the Permanent attachment or content template to your view by clicking on the button "Schleifen-Assistent" and I unchecked the checkbox as shown with the following screenshot: hidden link
=> hidden link
I'm not sure why the content template is not get displayed but I've moved the content template code directly within the loop editor section as given under:
The thing is that while you are on the view that query the post type "Veranstaltungen" you can access the field belongs to the post type "Veranstaltungen".
There is still confusion with your requirements as I can see with the datetime shortcode you query the repeating field group and based on the date field you are comparing the date and if date value is less than today's date you are returning the inactive otherwise active but the thing is that repeating field group will have multiple records added.
So, lets consider we have 5 records added to repeating field group where 2 records will have the custom date field value set before today's date and remaining 3 records will have future date.
How exactly you want to compare here and return active/inactive status? because in this case with 5 repeating field group records we will Have both active and inactive records. how exactly you want it should work?
Can you please share FTP access details as well.
*** 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.
Hi, yes but in shortcode - it walk trough array and if only one value is positiv, the Var $statusaktiv is set to aktiv. - So it is: is one date in future, shortcode give aktiv.
so, it means irrespective of number of inactive records available in the repeating field group, even if the repeating field group have one future date record it should return active and we should display that post right?
You can share the FTP access details with the next private reply.
*** 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.