Passer la navigation

[Résolu] ipv-conditional not working

This support ticket is created Il y a 1 year, 3 months. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Fuseau horaire du supporter : Asia/Kolkata (GMT+05:30)

Ce sujet contient 0 reply, a 1 voix.

Dernière mise à jour par geertV-3 Il y a 1 year, 3 months.

Assisté par: Minesh.

Auteur
Publications
#2794281
iScreen Shoter - Google Chrome - 250127203407.png

I have the following code

{!{wpv-post-title item='@organisatie.parent'}!}
{!{types field='straat' item='@organisatie.parent'}!}{!{/types}!} {!{types field='nummer' item='@organisatie.parent'}!}{!{/types}!}
{!{types field='postcode' item='@organisatie.parent'}!}{!{/types}!} {!{types field='gemeente' item='@organisatie.parent'}!}{!{/types}!}
{!{types field='enkel-vacatures' item='@organisatie.parent'}!}{!{/types}!}

[wpv-conditional if="( $(enkel-vacatures).item(@organisatie.parent) eq '1' )"]geen deelnemer[/wpv-conditional]

For the enkel-vacatures I see a 1 if it's checked.
But the wpv-conditional is not working. So I want to see "geen deelnemer" when the field enkel-vacatures is 1
Any idea?

#2794334

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please share problem URL and admin access details and let me 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.

#2794339

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

When I try to login using the access details - I get the following error:

ERROR: Incorrect username or password.

Can you please send me working admin access details.

I have set the next reply to private which means only you and I have access to it.

#2794340

Can you please try with the password Support2025!

#2794352

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Can you please check now: lien caché

I've adjusted the conditional code as given under:

[wpv-conditional if="( '{!{types field='enkel-vacatures' item='@organisatie.parent'}!}{!{/types}!}' eq '1' )"]geen deelnemer[/wpv-conditional]
#2794353

Thank you! It's ok now