Skip Navigation

[Resolved] Cannot save data in block conditional

This support ticket is created 4 years ago. 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 7 replies, has 2 voices.

Last updated by yulyaB 3 years, 11 months ago.

Assisted by: Nigel.

Author
Posts
#1837587
Screenshot_82.png
Screenshot_81.png

I'm trying to Set conditional in block editor:
('[wpv-search-term param='parent_person_id']')
but saved only:
( ( '[wpv-search-term ]' != '' ) )
I'm try it on the other site (clear) on @.discover-wp.com. But "param='parent_person_id'" not saved.

#1838517

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

I checked this on my own site and can confirm the problem, when adding the param attribute in Advanced mode the attribute is stripped when the condition is saved.

I've escalated this to the developers so that it can be fixed.

In the meantime, you would need to add any such condition using the Fields and Text or a Classic block, but that does mean that you cannot add any Blocks inside the condition, only HTML and other shortcodes.

I'll let you know when it is fixed.

#1861401

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

This is fixed in Blocks 1.3.3 which was released today.

If you don't see the update in your plugins page from the custom Toolset installer page click the Check for Updates button. It is also available on the downloads page at toolset.com/account/downloads.

Let me know if you still see any problems after updating.

#1863593

Hello Nigel, what about this topic https://toolset.com/forums/topic/cannot-edit-template/, are there need some fix after update ?

#1864343

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Yulya

That fix for that issue was included, too, so updating to the latest version of Blocks should have resolved that problem and you don't need to re-apply the patch.

#1865389

I checked, however the problem still exists in my case. I am applying a condition block on a wordpress page.

#1865447

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Sorry, my mistake.

The issue has been fixed by the developers, but I misread the fix version, it was fixed too late to be included in the last updates, and will be included in Blocks 1.3.4.

That is coming out very soon (likely Monday), as part of a required compatibility update ahead of WordPress 5.6.

So please try again with Blocks 1.3.4 when that is released and let me know.

#1869087

My issue is resolved now. Thank you!