Support

Account

Home Forums Add-ons Repeater Field Repeater(Repeater(Repeater(PostObject))) Trying to Add rows

Unread

Repeater(Repeater(Repeater(PostObject))) Trying to Add rows

    • cjjr82

    • December 1, 2018 at 1:58 pm

    Hello All,
    As the subject states, I am trying to work a setup with a Post Object inside 3 repeaters.
    Repeater(Repeater(Repeater(PostObject))) and do an add sub_row to the PostObject. Looking into my postmeta table, the values seem to have been inputed, but the values don’t show when editing the release. The resulting meta_key is release_discs_0_side_0_songs_0_song. Will this not tie back to the back end, or am I off on something. Anyone whiling to lend an eye and any advice would be greatly appreciated!

    Thanks!!

    Setup
    release_discs(side(songs(song)))

    Attempt 1

    $row1 = array('songs' => array('song' => $song_postID) );
    add_sub_row(array('release_discs', 1, 'side'), $row1, $release_postID);
    

    Attempt 2

    $row1 = array('song' => $song_postID) );
    add_sub_row( array('release_discs', 1, 'side', 1, 'songs'), $row1, $release_postID);
    
Viewing 1 post (of 1 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.