Home › Forums › Feature Requests › Drag Flexible Content layouts between parent Repeaters › Reply To: Drag Flexible Content layouts between parent Repeaters
Thanks for that Script!
It works great, but I have problems with saving the dragged layouts.
All layouts, which were dragged to the other fields, are lost after saving the post.
Have/had somebody the same issue?
I changed the JS to this for just dragging the layouts between the reusable fields:
connectWith: [
'[data-layout="1_col"] .values',
'[data-layout="2_col"] .values'
]
I created a field group for all my modules. This field is reused in the columns as an flexible content field:
- flexible content for modules (using this fieldgroup for reusable field group)
- text
- image
- ...
in the main groups:
- flexible content (1 col)
- col: reusable field group (flexible content)
- flexible content (2 cols)
- first col: reusable field group (flexible content)
- second col: reusable field group (flexible content)
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
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 Privacy Policy. If you continue to use this site, you consent to our use of cookies.