Support

Account

Home Forums Add-ons Repeater Field Repeater, inside flex, inside repeater issue

Unread

Repeater, inside flex, inside repeater issue

  • Hi

    I’ve run into an issue with nesting that I wanted to check out before I refactor everything. I’m basically facing the same problem as @letterafterz in this thread:

    http://support.advancedcustomfields.com/forums/topic/nested-repeater-inside-a-flex-content-inside-a-repeater/

    I have a repeater that contains a flex content field and one of the layouts in the flex content field contains a repeater. Everything works as expected and I get no errors. The exception to this is that the sub fields in the final repeater are not being rendered – regardless of the type of field used – the result is always false.

    I did as @elliot suggested and debugged the first repeater (results here : https://gist.github.com/FourStacks/9806486)

    As you can see the final repeaters sub fields are blank (starts line 77). Bit weird this as the database shows the results as being saved (see same gist – line 205 onwards). The values post ids from a post object field.

    This is my code : https://gist.github.com/FourStacks/9806658

    Don’t think I’ve done anything daft there (tried using both have_rows and has_sub_field to no avail).

    I’m developing locally at the moment and my MAMP install has a reasonable memory limit so at a bit of a loss.

    Any help/advice would be much appreciated!

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.