Support

Account

Home Forums Add-ons Flexible Content Field Flexible Content Within Flexible Content Within Flexible Content

Solved

Flexible Content Within Flexible Content Within Flexible Content

  • I either found a bug or have reached a limit that isn’t possible. I am trying to put a Flexible Content field inside of a Flexible Content field inside of another Flexible Content field.

    When I save it, the third nested Flexible Field inside of the first one gets kicked out and the names/fields do not save (all within ACF admin).

    Can you help?

    I am basically creating an FAQ page, with Category, Sub Category, and Answer/Question. Image attached for what I’m trying to do…

    • Elliot

    • August 16, 2013 at 2:38 pm

    Hi @anythinggraphic

    It is most likely that ACF is trying to save a value to the wp_postmeta table with a meta_key which is longer than the column allows.

    Please consider re-structuring your fields to not use such a nested approach.

    Perhaps a mixture of post_type + fields?

  • Thank Elliot,

    I ended up doing what you recommended and figured out a solution. Thanks!

    No I gotta figure out how to code the template πŸ™‚

    Appreciate the quick help.

  • How did you put Flexible Content inside Flexible Content? I couldnt find it in panel.. am i missing something or did you put it with php rather then using panel?

    • Elliot

    • August 29, 2013 at 2:13 pm

    Hi @unsalkorkmaz

    It is most likely that @anythinggraphic edited the flexible content plugin and commented out the code which removes the flexible content field from appearing within the sub field list.

    Thanks
    E

  • Well,
    Is there any specific problem in there that you unset it? what was reason? can we safely remove that?

    • Elliot

    • August 30, 2013 at 2:45 pm

    Hi @unsalkorkmaz

    I remove the field form the choices due to performance and experience issues.

    When nesting the flexible content field, the interface becomes cluttered and hard to use / understand

    • blowsie

    • October 29, 2013 at 1:12 am

    This to me is a bug and would be brilliant if this was fixed.

    @elliot I would disagree with your opinion on nested content being confusing, if you name things correctly it makes perfect sense.

    See my image of my layout. Having another “flexible content” where the “Add content” button is simply breaks, as described here.

    example layout

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.