Hey @paulhuisman this question was already answered: https://support.advancedcustomfields.com/forums/topic/conditional-logic-for-clone-fields/
@cloud9 thanks for the recommendation. Normally I don’t trust all the envato stuff. Have you tested it and used it on production already?
Thanks a lot @elliot I am looking forward to it. If you need some help for testing, let me know.
I am sad to say that delaying the current project is no option. The deadline is in 3 weeks. 🙁
Hey @elliot,
when I use the “block” display settings everything in the backend is fine but I can’t access the content from the frontend.
Does it mean that my way with the rows and modules will not work? If so I have to find another way.
Hey Elliot,
thanks for getting back to us. I just tested it and can’t confirm that this will work for me. I get a different structure for the output but the “modules” are empty now and the 2nd column is overriding the content of the 1st column. Attached again the current setup of the field groups.
Array
(
[0] => Array
(
[acf_fc_layout] => 2_columns
[modules] =>
)
)
I think I have the same problem here. @elliot do you understand the problem and can you give some tipps?
The problem that I see is, that there is no function to point to the nested field. For my case the ‘modules’ array.
Example output of $rows = get_field( 'rows' );
:
Array
(
[0] => Array
(
[acf_fc_layout] => 2_columns
[column_1] => Array
(
[modules] => Array
(
[0] => Array
(
[acf_fc_layout] => button
[text] => 1st button text
[url] =>
)
)
)
[column_2] => Array
(
[modules] => Array
(
[0] => Array
(
[acf_fc_layout] => button
[text] => 2nd button text
[url] =>
)
)
)
)
)
I can loop over the layouts of the rows flexible content field, but I can’t loop over the clone fields of these layouts (modules). Attached you can find my exported field groups.
@solverat you/we should try it. I can support german => english translations and development as well.
@solverat really nice, is it possible to use it? Do you plan to release/publish it?
Thanks a lot. This was the trick. 🙂
Sorry, I haven’t seen the notice that no support tickets are created. I will also create a support ticket.
It worked for me one day. After that, the same error occurs again.
@Elliot maybe it helps if you change the version number for dismiss every cache problems. But I think there is some other bug. I have still some problems with the url property.
Me too. Thanks!
Me too, for some images. Maybe this helps: A ‘url’ property or function must be specified error in Backbone.js
You are completly flexible with the sequence of every module with the flexible content field.
I see that you already released the /pro Site. Than I think it is ok for using it on production. Have not seen the page before.
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.