I'm working with the Toolset blocks. Usually works great except I would really like a better nested Views solution...
So I've tried using repeatable group. I have a custom post type with a repeatable group. Works fine to insert data using a form.
But I need to display all rows as a list. To do this I've:
-Create a page with a view where I filter out the "parent" post object (konferensrum in this case) to a single post using a hardcoded postID.
-Create a new content template which uses konferensrum single object.
-Create a new view in the content template which lists the repeatable group.
-Create a grid in this view with Single Fields of the repeatable group.
I've followed your tutorial but I think it's a bug (or a corrupt view somehow).
When I edit the content template I can see the correct values of the repeatable group. So works in edit mode.
When I edit the parent page listing one konferensrum I do not see the values of the view with repeatable group. It just says No data. When trying to list another field of the custom post, konferensrum, it shows so I know the View does work.
When I edit the konferensrum I can see all the values of the repeatable group so I also know the post is correct.
I've isolated the problem to a single page + the content template. You may have access to the site if you email me directly.
If it's a corrupt view how can I check this and make sure it works?
Hello. Thank you for contacting the Toolset support.
Yes, sure. Let me have a look at it.
Can you please share problem URL and 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.
Hello. Thank you for contacting the Toolset support.
Yes, sure. Let me have a look at it.
Can you please share problem URL and 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.
It seems that view you created is somehow corrupted or not behaving as it should.
I've created the following view (using the classic view mode):
=> hidden link
And then I've added the above view using the "fields and text" block to your parent post's loop:
=> hidden link
I can see it does display the correct related repeating field group items. You can adjust the view's loop output that displays the posts from the repeating field group as required.
I didn't realise how easy it was to solve this by skipping creating the view from the UI ( which I still think must have a bug that corrupts the view sometimes) and just creating a view manually and attach it like you did. But it works!
Still recommend checking out the potential bug.