Skip Navigation

[Resolved] Displaying field group view in a table view

This support ticket is created 6 years, 10 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 3 replies, has 2 voices.

Last updated by holgerK 6 years, 10 months ago.

Assisted by: Christian Cox.

Author
Posts
#619427

Hello there,

I did this for a layout: I created a field group and added some posts with data.
Then I added a view for this group like in your documentation and added this view to a single layout. That Works great.

But now I want to create a table view of this post type with the field group in of columns.

I tried to add the formerly created view (field group view) to my view on the post type as sortable table but I get "Not found" message in this columns.

Any idea?

#619527

I want to create a table view of this post type with the field group in of columns.
Okay to accomplish this, you should create another View. You should not try to place your first View inside your second View. That will cause problems. Instead, you should create the second View without using the first View. In the Loop Output editor, you will be able to choose a table-style display for the View.

I tried to add the formerly created view (field group view) to my view on the post type as sortable table but I get "Not found" message in this columns.
Sorry, I do not understand why you want to insert View 1 into View 2. It's probably best to create View 2 without View 1.

If I've misunderstood, please take some screenshots showing your View editor in wp-admin for me to review, as well as some screenshots showing the results of both Views on the front-end of your site.

#619625

I try do explain.

Following the documentation about displaying a repeatable field Group, I have to create a view for the repeatable field Group to add it to a layout, right?

https://toolset.com/documentation/getting-started-with-toolset/creating-and-displaying-repeatable-field-groups/

But how can I add this repeatable field Group a View (sortable table) to Show the values of the repeatable field Group fields inside a column?

#619631

Hello,
I found the solution.

The difference was, that when I add the repeatable field Group to a layout, i must select "Posts shown in the Loop".

When adding to a Loop layout, I must select "Current post in the Loop".

That did the trick.