Skip Navigation

[Resolved] I cant see the repeatable group items when I try to create a new view

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 8 replies, has 3 voices.

Last updated by Minesh 1 year, 4 months ago.

Assisted by: Minesh.

Author
Posts
#2625623

I am trying to:
Display a repeatable field group

Link to a page where the issue can be seen:
On the content template edit page

I expected to see:
The repeatable fields in the field groups when I create the new view

He is a video that shows the issue
hidden link

Instead, I got:

#2625633

Nigel
Supporter

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

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

Hi Sorin

I watched your video and I can see the problem.

The repeatable field groups are only offered as an option for the View content when the View is added to a content template assigned to the post type the repeatable field group belongs to.

On your site that is the case, and so I would expect it to appear.

The fact that it doesn't I suspect is because in the settings for the field group, the field group is assigned to a post type, but it also includes a condition to only be available on those posts which are using the specified template. Even though that is the same template you are adding the View to, I suspect it is confusing the code which determines whether to offer repeatable field groups in the content selection.

Do you need that condition for the template in the field group settings?

If you remove that setting, does it then work as expected?

#2625651
Screenshot 2023-07-20 at 13.46.46.png

Hi Nigel
I have removed the condition. See the attached image.
I stil dont see the repeated fields when I try to create the view

#2625761

Minesh
Supporter

Languages: English (English )

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

That is really strange.

Can you please send me problem URL of content template where you want to display the repeating field group as well as admin access details.

*** 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.

#2626031

hey guys

any news on this?

#2626043

Minesh
Supporter

Languages: English (English )

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

I checked with the clean installation on my local server where only Toolset Types and Blocks plugins were installed and I've created the post type with custom field group where the I've added three repeating field group to this custom field group.

Then when I try to create content template for the single post of the post type and add a view block to that I can see its showing the repeating field group name for selection. There is no issue with that.

I do not know the site history so I'm still not sure why the repeating field group name is not available with the single content template edit screen when you add a view block. That is really strange.

The workaround would be:
- To switch to legacy view and create view from there and add it back to your single post content template using view block or "Fields and Text" block or shortcodes block.
-- To enable legacy mode of the view, please follow the following doc:
=> https://toolset.com/course-lesson/enabling-legacy-version-of-toolset-views/

More info:
- https://toolset.com/documentation/legacy-features/views-plugin/

#2626047

I have found a way around it.

If I create a new content template I show the repeated fields in the view.

One last question: how do I delete the views I created?

I created so many for testing and I want to delete them now.

#2626049

How do I delete the test views?

#2626057

Minesh
Supporter

Languages: English (English )

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

To delete a view, you can follow these steps:

1. Please navigate to:
Toolset -> Settings -> General and for the "Editing experience" section, select "Show both the legacy and Blocks interface and let me choose which to use for each item I build".
( screenshot: hidden link )

2. After that, when you'll refresh the page, the "Views" menu option will become available under the Toolset menu.
( screenshot: hidden link )

From this management screen, you'll be able to delete any unused views. You should hover the mouse and you will see a "Trash" link to delete view.

As you already mark this ticket resolve once, please try to mark resolve ticket with different message like "this issue is really resolved now".