Skip Navigation

[Resolved] Do i need to use the Toolset Blocks plugin to display repeating fields in a View

This thread is resolved. Here is a description of the problem and solution.

Problem:
The user would like to know if we must use blocks for some views as shown in our tutorial videos.

Solution:
Toolset Views and Toolset Blocks are virtually the same plugins, once one is activated it deactivates the other. Check our announcement article about it https://toolset.com/2019/11/toolset-views-becoming-toolset-blocks/

We do encourage our clients to use blocks instead of views. However, Blocks do not support all features of Views yet. We can then fallback to views. In Toolset->Settings, you can choose either one of them or both.

About Toolset elements, views are meant for displaying lists of posts, from a custom post type. Content Templates, on the other hand, are meant to display one post from a custom post type. Then you can use a view inside a content template or use a content template inside a view, and a content template inside of it, and so on.

If you still want to use the legacy views for your view or content template, you can use the wpv-for-each shortcode to display your repeatable field.
Relevant Documentation:
- https://toolset.com/documentation/getting-started-with-toolset/creating-and-displaying-repeatable-field-groups/
- https://toolset.com/documentation/user-guides/views/views-shortcodes/#vf-153482

This support ticket is created 4 years, 8 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: Africa/Casablanca (GMT+01:00)

This topic contains 3 replies, has 2 voices.

Last updated by katrina 4 years, 8 months ago.

Assisted by: Jamal.

Author
Posts
#1582259

Tell us what you are trying to do? Display repeating fields in a View and Content Template

Is there any documentation that you are following? https://toolset.com/documentation/getting-started-with-toolset/creating-and-displaying-repeatable-field-groups/

Is there a similar example that we can see? No

What is the link to your site? I can provide privately, if needed

#1582263

I have a custom field that has any number of repeating audio files with a description for each, and i want to list these in a Content Template and a View. I understand I need to create a View first anyway, to insert in my Content Template. My question is: do I HAVE to use the Toolset Blocks plugin as instructed in the tutorial above, or can I figure it out by just using Types and Views? I haven't been using the Blocks plugin (well, i tried but didn't like it or am just not familiar enough with it yet, having only used Types and Views for the past few years), so I want to know if it's 100% necessary in order to achieve my goal, or if I'll be able to figure out a way to do it without the Blocks plugin? (I'm super happy repeating custom field groups are now available, because if I remember correctly, they were not available for a long while.)

#1582337

Hello and thank you for contacting the Toolset support.

Toolset Views and Toolset Blocks are virtually the same plugins, once one is activated it deactivates the other. Check our announcement article about it https://toolset.com/2019/11/toolset-views-becoming-toolset-blocks/

We do encourage our clients to use blocks instead of views. However, Blocks do not support all features of Views yet. We can then fallback to views. In Toolset->Settings, you can choose either one of them or both.

About Toolset elements, views are meant for displaying lists of posts, from a custom post type. Content Templates, on the other hand, are meant to display one post from a custom post type. Then you can use a view inside a content template or use a content template inside a view, and a content template inside of it, and so on.

If you still want to use the legacy views for your view or content template, you can use the wpv-for-each shortcode to display your repeatable field.
https://toolset.com/documentation/user-guides/views/views-shortcodes/#vf-153482

I hope this answers your request. Let me know if you have any other questions.

#1582563

This was very helpful - thank you!