Skip Navigation

[Resolved] Split: Filter about categories dont set condition – conditional display

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 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 7 months, 2 weeks ago.

Assisted by: Minesh.

Author
Posts
#2692031

hi, - thx - that is it!

can you tell me why this condition is not working in output-editor of view:
[wpv-conditional if=" ( '[wpv-search-term param="wpv-land"]' eq '') "] [wpml-string context="wpv-views"]Choose a country.[/wpml-string] [/wpv-conditional]

i try to show this message also on start/first load - how can i do this in loop-editor like:
[wpv-no-items-found]
[wpml-string context="wpv-views"]Choose a country.[/wpml-string]
[/wpv-no-items-found]

#2692036

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

You can use the shortcode [wpv-search-term param="wpv-land"] to get the URL param wpv-land.

But as you have set your view to use AJAX, if you set your view to load the result with "Refresh entire page when visitors click on the search button with auto. Click to update the input values" then the conditional you shared should work.