Tell us what you are trying to do?
I have to conditional checkbox one for display the custom type in a view the other for display a custom field a button. The problem I have is its working perfectly in the main language but not in the second language. In the view with the conditional is not displaying anything in the second language and not's displaying the button. In the primary language, it's working perfectly.
Is there any documentation that you are following?
https://toolset.com/documentation/user-guides/views/conditional-html-output-in-views/
Is there a similar example that we can see? I don't find anything about it.
What is the link to your site? It's under production.
Hi Alex,
Thank you for contacting us and I'd be happy to assist.
To troubleshoot this on a test website, I'll need to see exactly how these fields and the conditions are set up on your website.
Can you please share temporary admin login details along with the link to a page where these conditions are in use?
Note: Your next reply will be private and please make a complete backup copy, before sharing the access details.
regards,
Waqar
Hi Alex,
Thank you for sharing these details and I apologize for the delay in getting back on this.
I couldn't login to your website's admin area, as it keeps showing this security message:
Screenshot: hidden link
If sharing access to your website's admin area is complicated, you can instead share its clone/snapshot, so that it can be investigated on a different server, without affecting the actual website:
https://toolset.com/faq/provide-supporters-copy-site/
I've set your next reply as private again.
regards,
Waqar
Hi Alex,
Thank you for sharing the duplicator package.
During troubleshooting on your website's clone and on my own website, I noticed that the option "When unchecked, save 0 to the database" set in checkbox type custom fields works for the original posts, but not for the translated ones.
And since your website's view "Projects home" is set to look for "0" value in the "Query Filter" for the "inactive" field, no posts are returned for the "ES" language.
I've shared these findings with the concerned team for further review and will keep you updated with the progress through this ticket.
A quick fix that you can use for this view is to change the query filter for this field to look for posts where value is lower than '1'.
( screenshot: hidden link )
I hope this helps and please let me know how it goes.
regards,
Waqar
Thanks for your help Waqar.
I resolved the other issue I with this:
if="( $(wpcf-singleinactiu) lt '1' )"
My issue is resolved now. Thank you!