Skip to content

Instantly share code, notes, and snippets.

@litzinger
Created December 21, 2018 19:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save litzinger/6cfdd06304df85bc5337bc5c7b7b3483 to your computer and use it in GitHub Desktop.
Save litzinger/6cfdd06304df85bc5337bc5c7b7b3483 to your computer and use it in GitHub Desktop.
EE 4 Bloqs fix
<div class="fields-grid-setup ui-sortable" data-group="grid"><!-- grid-wrap -->
<?php foreach ($columns as $column): ?>
<?=$column?>
<?php endforeach ?>
</div>
<?php
use Basee\App;
$className = App::isGteEE5() ? 'grid-col-settings-elements' : 'grid_col_settings_elements';
?>
<div class="grid-col-settings-elements" data-group="always-hidden" class="hidden" style="display: none">
<?=$blank_col?>
<?php foreach ($settings_forms as $form): ?>
<?=$form?>
<?php endforeach ?>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment