Support » Plugin: Advanced Custom Fields: NextGEN Gallery Field add-on » Allow null option not working with ACF 5.7.6

  • After updating ACF to 5.7.6 all gallery fields were reset to text fields. After manually re-configuring them, the Allow null option is not having any effect. There should be a -Select- option on top of the field’s dropdown menu, but it doesn’t show.

    Edit: previous ACF version was 4.4.12

    • This topic was modified 1 year, 2 months ago by cazuma.
Viewing 1 replies (of 1 total)
  • This plugin is based on lots of deprecated code on both NGG and Advanced Fields.
    To fix part of that I switched our site over to NextCellent Gallery which can read NextGen Data tables that fixed the sorting issue. Now our galleries are sorted by title again. I then completely ignored the null option and modified the code and manually added an empty Select option. I added <option value=””>Select</option> around line 366 of the acf-ngg-v5.php. Though I copied this file first and created my own version to preserve the original.

    <?php if ( $field['nextgen_type'] == "Galleries and Albums" || $field['nextgen_type'] == "Galleries" ) : ?>
                <option value="" >Select</option>  
                <optgroup label="<?php _e('Galleries','nggallery'); ?>">

    I hope that helps you. I really think this plugin is dead and we all need to find a new way to do this.

Viewing 1 replies (of 1 total)
  • The topic ‘Allow null option not working with ACF 5.7.6’ is closed to new replies.