Tell us what you are trying to do?
im trying to create my single page template. I have many nested RFGs. to be able to get the content to show up Christian Cox helped me figure out I have to make views to support them. I added the views to the template and all the dynamic content showed up. Once I previewed the template page of the front end it showed some of the views but others did not (no item found). Furthermore, I tried to work around this by going into elementor and adding the views that way but all of them come up as 'no item found'.
Is there any documentation that you are following?
iv poured over as many as I can find to try to figure out this answer without you guys, but its not working
Hello. Thank you for contacting the Toolset support.
Do you mean that the nested view you created to display the content from your nested repeating field groups works fine on the frontend page but when you try to preview the template it does not showing up? It could be because of preview content template do not find the actual post ID or it could be anything other.
If you can share problem URL and access details and steps to follow using which I can see the issue I can check and get back to you with more information.
Can you please share all the above-required information and 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.
Yes - I can see the issue that view is not producing the result.
But first of all, I see you created a number of nested views and also I see you are using the same slug for post type as well as repeating field group.
I can see the post type with the name Plants and I can also see there is a repeating field group available with the same name Plants. You should not use the same slug. I suggest you should change duplicate slugs and instead use the unique slugs as if you will try to use the same slug, sooner or later it will be broken and hurt you.
Yes - I can see with the content template in backend, it loads the correct results: hidden link
But on frontend - it shows "No items found" which is not true as I can see the result is available.
I checked with my test site where I've created two repeating field groups and added a few entries to that and I created two different views to display those two repeating field groups. I've created a content template using blocks and added two-column block and added one view to each column and I can see it works as expected.
Certainly, it looks like issue as you are using the same slugs for your post types as well as for your repeating field group.
I suggest changing the slugs and make sure you are using unique slug for views,content-templates,views, post-types etc..etcc and check if that help you to resolve your issue.
I got rid of the RFG called Plants as you suggested. I ended up just changing which fields were displayed and ones that had "no item found". I solved one because the Query Options : Don't include current page in result, was checked.
1) Now im having trouble with the Leaf Shape View. iv gone through and checked to see if anything in the view was wrong, but nothing I can see. you can see the front end if you use the access details and click on this link hidden link
2) I wonder if that has to do with the nested part. I have it nested like this Leaf > Leaf Typology > Leaf Shape. Some of the fields nested in Leaf don't need to be repeated, I only put them there for organization, so do you think I should only have fields in RFGs if they actually need to be repeated?
3) I was trying the views in elementor and when I add them the all come up as "no item found". Is there a fix for that or does it simple have to do with compatibility?
I tested elementor out to try to see if things worked. If you preview the Blocks template on the front end and then click on 'Edit with Elementor' it comes up with a debugging message that I really don't understand. Back on the page itself, it comes up with no content at all, but if I try to add toolset view in, the values appear with the exception of Leaf Shape.
If I try to create an elementor template page and then add Toolset Views the only one that work is Hardiness Zone, so the rest come up with the "no item found".
I don't understand any of that, but I figured it might help you.
I got rid of the RFG called Plants as you suggested. I ended up just changing which fields were displayed and ones that had "no item found". I solved one because the Query Options : Don't include current page in result, was checked.
==>
Great. As I suspected the duplicate slug issue was there. As you can check the following view, the option Don't include current page in result, is unchecked and query filter is set to "Select items from the General group that are related to the Post where this View is shown.".
=> hidden link
1) Now im having trouble with the Leaf Shape View. iv gone through and checked to see if anything in the view was wrong, but nothing I can see. you can see the front end if you use the access details and click on this link hidden link
==>
The reason why Leaf Shape view was not working because you created the repeating field group 'Leaf Typology' whose parent is another repeating field group 'Leaves', having said that you have nested repeating field group where Leaves is a parent repeating field group and 'Leaf Typology' is a child repeating field group. You need to create nested views to display the 'Leaf Typology' repeating field group.
So, I've created the following view which queries the repeating field group 'Leaves':
=> hidden link
And within the Loop Editor section of the above view, I've added the view that query the repeating field group 'Leaf Typology':
=> hidden link
I can see now it displays the correct value on the frontend: hidden link
2) I wonder if that has to do with the nested part. I have it nested like this Leaf > Leaf Typology > Leaf Shape. Some of the fields nested in Leaf don't need to be repeated, I only put them there for organization, so do you think I should only have fields in RFGs if they actually need to be repeated?
==>
Honestly - I do not know your site structure and you need to understand how repeating field groups works. If you do not want the field to be repeated one, I even wonder why you put inside the repeating field group.
As the original issue is resolved with this ticket, I may kindly ask you to open a new ticket with your each new question you may have. This will help other users searching on the forum as well as help us to write correct problem resolution summery.