Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ACF Extended Compatible? #173

Open
louiswalch opened this issue May 2, 2023 · 4 comments
Open

ACF Extended Compatible? #173

louiswalch opened this issue May 2, 2023 · 4 comments

Comments

@louiswalch
Copy link

Hi, is this compatible with the additional options, configurations and fields in ACF Extended?
https://www.acf-extended.com/

@Log1x
Copy link
Collaborator

Log1x commented May 2, 2023

Yes. You will have to export JSON/PHP or code dive to find out what keys/fields are called, though. Most are prefixed with acfe_.

@EHLOVader
Copy link

I was wondering about this and if there was a place to find this in documentation or elsewhere. The best I could find was that their code seems to define defaults for each of their custom fields.

https://github.com/search?q=repo%3Aacf-extended%2FACF-Extended++%24this-%3Edefaults&type=code&p=2

So you might be able to use this search result to find the settings keys and the custom field type name needed to configure the fields from ACF Builder directly.

@louiswalch
Copy link
Author

I've just gone into native ACF, create the field and set ACF/ACFE settings, then export the field group as PHP. The output will give you all the options you need to place in your ->addWhatever call for ACF Builder. It's a little annoying at first, but afterwards you can just copy/paste then for future uses. Really just a matter of figuring out what all the acfe settings are.

Once you get over that, ACF Builder is a awsome tool. Really saves a ton of the initial effort in getting a site set up.

For Example:
->addFlexibleContent('modules', [ 'label'=>'', 'button_label'=>'Add Content', 'acfe_flexible_stylised_button'=>1, 'acfe_flexible_layouts_thumbnails'=>1, 'acfe_flexible_remove_button'=>'duplicate', 'acfe_flexible_modal'=>[ 'acfe_flexible_modal_enabled'=>1, 'acfe_flexible_modal_title'=>'Add Content', 'acfe_flexible_modal_size'=>'large', 'acfe_flexible_modal_col'=>4, 'acfe_flexible_modal_categories'=>0 ] ])

@TimAtTeamlemke
Copy link

If you're using Log1x ACF-Composer you can also set acfe defaults for specific field types:

'fieldGroup' => ['instruction_placement' => 'acfe_instructions_tooltip'],
'repeater' => ['layout' => 'block', 'acfe_repeater_stylised_button' => 1, 'wpml_cf_preferences' => 1],
'group' => ['layout' => 'block', 'acfe_group_modal' => 0],

I also found a few available settings by searching on GitHub
I'm missing a developers documentation too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants