[Closed] Display views with nested repeated field groups

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.

This topic contains 1 reply, has 2 voices.

Last updated by Christian Cox 10 months ago.

Assigned support staff: Christian Cox.

Author
Posts
#1337783

We created two nested views containing each one a list of repeatable fields group and placed the parent view in a content template, but when previewing the post formatted with content template, we see "No items found" even the fields are populated.

this is the code of the loop editors of views:

PARENT
[wpv-layout-start]
[wpv-items-found]
<!-- wpv-loop-start -->
<ul class="wpv-loop js-wpv-loop">
<wpv-loop>

  • [wpv-post-body view_template="loop-item-in-varianti-materiali"]<br>
    [wpv-view name="varianti-colore-scheda"]
  • </wpv-loop>

    <!-- wpv-loop-end -->
    [/wpv-items-found]
    [wpv-no-items-found]
    [wpml-string context="wpv-views"]No items found[/wpml-string]
    [/wpv-no-items-found]
    [wpv-layout-end]

    CHILD
    [wpv-layout-start]
    [wpv-items-found]
    <!-- wpv-loop-start -->
    <ul class="wpv-loop js-wpv-loop">
    <wpv-loop>

  • [wpv-post-body view_template="loop-item-in-varianti-colore-scheda"]
  • </wpv-loop>

    <!-- wpv-loop-end -->
    [/wpv-items-found]
    [wpv-no-items-found]
    [wpml-string context="wpv-views"]No items found[/wpml-string]
    [/wpv-no-items-found]
    [wpv-layout-end]

    #1338123

    Christian Cox
    Supporter

    Languages: English (English )

    Timezone: America/New_York (GMT-04:00)

    Hello, can you take screenshots of both Views in wp-admin so I can see the Query Filter configurations?
    Also, where is the parent View placed on your site?
    Add the post title shortcode just before the nested View, like this:

    [wpv-post-body view_template="loop-item-in-varianti-materiali"]<br>
    [wpv-post-title]<br>
    [wpv-view name="varianti-colore-scheda"]
    

    Is the parent post title displayed as expected when you test now?

    The topic ‘[Closed] Display views with nested repeated field groups’ is closed to new replies.