Skip Navigation

[Resuelto] Nesting Field Group View in Template in View – No Items Found

This support ticket is created hace 4 años, 9 meses. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Etiquetado: 

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por shawnW-3 hace 4 años, 9 meses.

Asistido por: Shane.

Autor
Mensajes
#1496795
09- View - Content Template - View - RESULT.JPG
08- View - Content Template - View - img3.JPG
07- View - Content Template - View - img2.JPG
06- View - Content Template - View - img1.JPG
05- Content Template - RESULT.JPG
04- Content Template.JPG
03- Repeatable Field Group View - Images with Info - img3.JPG
02- Repeatable Field Group View - Images with Info - img2.JPG
01- Repeatable Field Group View - Images with Info - img1.JPG

Tell us what you are trying to do?
Pretty simple, I have nested a repeatable field group view in a content template, which works perfectly well.

However when I nest either the view or template in another view I get everything except the view results.

Is there any documentation that you are following?
I read the documentation for repeatable field groups and nested views. I can't figure out why this isn't working, it's very straight forward.

Is there a similar example that we can see?
Not that I know of...

Names of Everything So Far...
CPT:
Dealer Assets

Custom Post Example:
Private: DD Apparel (switched to public momentarily to see if that would fix the issue and it does not)

Repeatable Field Groups:
Dealer Asset - File with Info
Dealer Asset - EmbedMedia with Info
Dealer Asset - Image with Info
Dealer Asset - URL with Info

Repeatable Field Group Views:
Dealer Asset - File with Info - VIEW
Dealer Asset - EmbedMedia with Info - VIEW
Dealer Asset - Image with Info - VIEW (chosen for the example images)
Dealer Asset - URL with Info - VIEW

Content Template:
Dealer Asset Prime Content Template

Main View:
Dealer Asset - Portal - FULL SPREAD - View

Images 01 through 03 show how I set up the views for my four repeatable field groups.
While I had four views, they were all setup the same.

Image 04 Shows how I set up the Content Template
Image 05 is the Result of that Content Template - You can see that the views are working fine on the content template

Image 06 through 08 show how I set up the single view for showing the all the "dealer asset" custom post type info.
Image 09 is the Result of that View - You can see that nested views are returning a "No Items Found"

I have also tried nesting a single "Repeatable Field Group View" in the "Main View" with nothing else, but the result was essentially the same.

What is the link to your site?
All of this is private

I don't have any reason to believe there is anything wrong with the website or plugin, rather I suspect that I'm failing to consider something in setting up the final view.

If possible I would like someone in the US timezone so I can get this sorted as quickly as possible.

#1497009

Shane
Supporter

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

1496795-02_Repeatable_Field_Group_View_Images_with_Info_img2.jpg

Hi Shawn,

Thank you for contacting our support forum.

Given that you are doing a nested view, I suspect the issue is here, see screenshot.

You will need to change the filter to get the information from the post loop, the filter should be "The current post in the loop" rather than "The post where this View is shown".

Please let me know if this helps.
Thanks,
Shane

#1497065

I knew it had to be something that simple! My issue is resolved now. Thank you!