Skip Navigation

[Resolved] Display views with nested repeated field groups

This support ticket is created 5 years, 2 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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 1 reply, has 2 voices.

Last updated by Christian Cox 5 years, 2 months ago.

Assisted by: 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

    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?