Skip Navigation

[Resolved] View doesn't be updated if page doesn't be updated

This support ticket is created 3 years, 2 months 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Karachi (GMT+05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Waqar 3 years, 2 months ago.

Assisted by: Waqar.

Author
Posts
#2237937

Dear Sir/Madam,

I have a page containing a View block, everything goes well, I change the filter to the View but it doesn't effective until I edit the page and update it once. Is it true the View would be updated if I don't update the page manually?

Best regards,

Kelvin.

#2238001

Hi Kelvin,

Your observation is correct and as expected.

When working with the blocks-based view, the changes to the view are saved when the page as a whole is saved using the "Update" button.

If you'll make some changes to the view, but leave the page edit screen without clicking the "Update" button, those changes won't be saved.

regards,
Waqar

#2238003

Dear Waqar,

I mean I have to save the page every time after I change the View, is it only applied on blocks-based view, or I should use shortcode to embed the Views?

I do remember I didn't need to save the page if I change the Views before the WP implement the Block Editor.

Best regards,

Kelvin.

#2238719

Thanks for writing back.

The workflow and saving method is different when it comes to the blocks-based editor.

In classic/legacy views, a view is created and managed using an independent view editor screen and then placed on the desired page/post. The actual view doesn't actually reside on the page/post where it is placed, therefore, any changes that are made on the view's editor automatically reflects on the page/post where it is shown.

In the case of the blocks-based views, there is no independent view editor screen. The view is created and managed on the same page/post where it needs to be shown. For this reason, if you're making changes to a block-based view, you'll have to save/update the page/post which contains it, so that the changes can be saved. And that behaviour is not limited to Views blocks or Toolset blocks. You'll notice the same for all blocks available in the blocks editor (Gutenberg) environment. As a quick test, you can create a new page and add a simple paragraph block with some text. After the page is saved, make some changes to that text again and without saving the page close the page editor. You'll see that the unsaved changes won't be shown on the front-end.

If you still feel my explanation doesn't cover the scenario that you're reporting and there is still something off, you're welcome to share the specific steps, so that I can reproduce what you mean.