Change Log

  • Subscribe to Bloqs updates JSON | RSS
  • Subscribe to all add-on updates JSON | RSS

Version 5.0.13

March 4, 2024

  • [Added] Fieldname hints to bloqs and atoms
  • [Added] Release Notes page in the Bloqs admin section
  • [Added] Version check and notice if a new version is available to download
  • [Improved] breadcrumb trails
  • [Fixed] Draft boqs will not display in Live Preview anymore
  • [Fixed] PHP 8.2 issue

Version 5.0.12

December 5, 2023

  • [Fixed] Relationship fields now work correctly again in Live Preview Requests
  • [Added] Range Slider, Selectable Buttons, Duration, and Value Slider fields now work in Bloqs
  • [Fixed] Required fields now show proper icon
  • [Fixed] Issue where older Bloqs installs might not load the field settings page due to bad field order settings.

Version 5.0.11

September 10, 2023

  • [Changed] Searching in the menu filter list only searches bloq names, not their descriptions
  • [Added] support for EE 7.3’s full_modifier support
  • [Updated] the bloq field instructions now uses native EE styles
  • [Fixed] File fields in 7.3 - Lets single file field variables with mulitple modifiers work
  • [Fixed] PHP 8.2 stuff

Version 5.0.10

June 9, 2023

  • [Fixed] Issue where fieldtype shim was null

Version 5.0.9

April 11, 2023

  • [Fixed] Missed something in the previous build to prepare for EE 7.3

Version 5.0.8

April 7, 2023

  • [Fixed] Relationship field summary was not displaying
  • [Fixed] Method is_callable switched to method_exists in several places for EE 7.3 compatibility

Version 5.0.7

March 21, 2023

  • [Fixed] PHP 8.1 compatiblity issue

Version 5.0.6

February 6, 2023

  • [Added] Form submission validation back if Publisher is installed
  • [Fixed] Cloning bloqs containing Redactor fields should no longer duplicate the Redactor field
  • [Fixed] Non-nestable Bloq fields would not render in Live Preview

Version 5.0.5

December 1, 2022

  • [Added] blocks_atom_validate_delete hook
  • [Fixed] Color Picker field was not working when viewing a Revision
  • [Added] Caching to many of the SELECT queries that Bloqs is performing to prevent duplicate queries during the same request/page load

Version 5.0.3

August 22, 2022

  • [Added] You can optionally prefix an atom/field name in a bloq tag pair to prevent parsing issues

Version 5.0.2

August 4, 2022

  • [Added] Small change to support Publisher's new Auto Translation feature

Version 5.0.1

July 26, 2022

  • [Fixed] Preview button text would display invalid characters after performing entry form validation
  • [Fixed] drop shadow in EE 7
  • [Updated] add-on icon

Version 5.0.0

July 24, 2022

  • [Removed] The old {close:[short_name]}{/close:[short_name]} syntax was removed. You’ll need to switch to {bloqs:children} if you haven’t already. Please see the docs.
  • [Improved] Live Preview support
  • [Updated] Parsing logic to use native extractVariables() function instead of a custom regex.
  • [Added] {bloqs:child:[short_name]} parsing option as alternative to {bloqs:children}
  • [Added] {bloqs:count:at:depth} variable
  • [Added] {bloqs:depth} context variable
  • [Added] Cloneable bloqs within a component
  • [Added] A few small updates to support EE 7

Version 4.12.5

May 4, 2022

  • [Fixed] Scoped variables were working correctly when multiple variables were scoped to the same bloq
  • [Fixed] location of parens in a conditional which was causing bloqs to not render in Live Preview
  • [Fixed] In some unexplainable scenario bloqs would not save correctly to a field the first time an entry is created (regression from 4.12.4 release)
  • [Improved] Support for fixing Assets in Live Preview (Publisher compatibility)

Version 4.12.4

April 18, 2022

  • [Fixed] Small issue where Bloqs would put the CP into an infinite redirect on the "adding" page.
  • [Fixed] Conditionally hidden fields should now save correctly

Version 4.12.3

April 7, 2022

  • [Added] :total_bloqs modifier, which is the same as the old :total_blocks modifier
  • [Added] bloqs_enable_strict_tree_structure config option
  • [Added] You can now enable a confirmation modal when deleting a bloq. See docs: https://docs.boldminded.com/bloqs/docs/configuration/hidden-config-options
  • [Fixed] Component bloqs now correctly show a summary

Version 4.12.2

February 12, 2022

  • [Fixed] Small fix when cloning entries containing components

Version 4.12.1

February 9, 2022

  • [Added] Entry Cloning support that was introduced in EE 6.2.5
  • [Changed] Error logs won't be added for each instance of an error, it'll only update existing errors, thus not filling up the dev log table
  • [Fixed] Minor display issue when multiple Relationship fields were in a bloq

Version 4.11.0

December 22, 2021

  • [Added] Bloqs now has 2 public services to easily access Bloqs content: ee('bloqs:getContent', $entryId, $fieldId) and ee('bloqs:Adapter') which provides access to all public methods in the Adapter class.
  • [Added] Datalist fieldtype to the supported list
  • [Improved] Added more detailed error logging, and enable logging only when the current user is logged into the CP.

Version 4.10.2

November 11, 2021

  • [Fixed] Components with __hidden fields now expand/collapse correctly
  • [Removed] The drop stoppper class to visually indicate a component couldn't be the drop zone for another bloq. It was really messing with the drag and drop script's ability to determine hit area/intersections.

Version 4.10.0

November 9, 2021

  • [Changed] drag and drop script to a newer fork of jQuery's nestedSortable script. Drag and drop behavior should be smoother and more consistent, and similar to Structure's behavior.
  • [Changed] Small UI adjustments. Expand and collapse icon is on the right (you can still double click the bloq name to expand/collapse), and bloqs inside of a component are now hidden when the component bloq is collapsed.
  • [Fixed] "Expand/Collapse All" would put the expanded/collapsed icons in the wrong state
  • [Fixed] Bloqs updates were not appearing in Live Preview

Version 4.9.1

October 15, 2021

  • [Fixed] Upgrading from pre-4.6.0 installs will not break

Version 4.9.0

October 7, 2021

  • [Added] Support for front-end edit feature in EE Pro
  • [Added] "Insert bloq aftrer" control element for components
  • [Added] bloqs:root:id and bloqs:root:shortname variables
  • [Added] bloq:is:root variable
  • [Added] Initial support for EE Pro front-edit feature
  • [Added] New {bloqs:set name="my_variable" value="hi"} tags, similar to layout:set. You can now set arbitrary variables and pass them down to child bloqs.
  • [Fixed] Bloq field validation issues
  • [Fixed] Update parsing to handle multiple intstances of the same block pair
  • [Fixed] JS error when validating a field that contains blocks no longer assigned to the field.
  • [Fixed] The component builder was not visible in EE 5
  • [Fixed] 4.8 upgrade script would error out when trying to drop foreign keys

Version 4.8.1

September 16, 2021

  • [Fixed] Upgrading from 4.5 or previous versions to 4.8 would cause an error in the 4.6 upgrade process
  • [Fixed] Copying a bloq that is a component wasn't copying necessary component data
  • [Fixed] bloqs:is:last_child tag was not reporting correctly
  • [Fixed] When multiple of the same blog tag pairs are in the same template render both pairs in the correct order

Version 4.8.0

August 10, 2021

  • [IMPORTANT] Always backup your database before upgrading Bloqs. This update will migrate old Bloq Templates to the new Components schema.
  • [Changed] Bloq Templates are now called Components
  • [Changed] Components are now first class citizens. A component is just a normal bloq that you've configured as a component.
  • [Changed] The bloq instructions text will now display in the add bloq menu if the menu is displaying as a list.
  • [Added] Components can now be nested as a child of another bloq, and have nesting rules applied to it.
  • [Added] {bloqs:switch=""} variable
  • [Fixed] A bloq with a File field would lose it’s nesting after saving an entry.

Version 4.7.1

June 2, 2021

  • [Added] Benchmarking to the replace_tag method which shows how much time is taken to parse a Bloqs field in the output profiler.
  • [Changed] Menu controls become visible when hovering a bloq, not the space between bloqs.
  • [Improved] First time to interaction on large bloq fields (removed excessive DOM manipulations).
  • [Fixed] Simple change for for PHP8 support.

Version 4.7.0

May 4, 2021

  • [Added] blocks_hide_block hook
  • [Added] bloqs:template:shortname variable
  • [Fixed] Avoid excessive/duplicate log entries
  • [Fixed] PHP error when viewing a revision that does not contain Bloq Template data
  • [Fixed] Live Preview wasn’t displaying nested Bloq data

Version 4.6.1

March 24, 2021

  • [Added] Warning message about max_input_vars setting being too low
  • [Changed] JS optimizations
  • [Fixed] Saving a Bloqs field that contains a template where a bloq in the template was not assigned to the field.
  • [Fixed] Prevent atoms from saving NULL value in database
  • [Fixed] Bloqs did not keep their nesting after saving an entry

Version 4.6.0

March 1, 2021

  • [Added] Bloq Templates
  • [Added] New {bloq:children} tag to replace the old {close:bloq_name} tag pair.
  • [Fixed] Setting a bloq to “can only be root level” after being defined as a child of another bloq would not correctly update the settings
  • [Fixed] If viewing a revision that contains old atom definitions, don’t throw an error

Version 4.5.1

January 2, 2021

  • [Changed] Can no longer delete a bloq definition if it is used in 1 or more entries.
  • [Added] blocks_before_display_field and blocks_after_display_field hooks
  • [Fixed] RTE error message was thrown in EE6 when attempting to Live Preview an entry.
  • [Fixed] Color Picker field in EE6 should work correctly in a bloq. There is still an outstanding EE bug that needs to be addressed. https://github.com/ExpressionEngine/ExpressionEngine/issues/714
  • [Fixed] When creating a new bloq, expand the first atom settings field by default.

Version 4.5.0

December 18, 2020

  • [Added] Insert bloqs directly as a child of a bloq to avoid excessive drag and drop to build the nested structure.
  • [Added] Add bloq menu options respect the bloq rules. Menu items will be disabled if it is not allowed to be inserted into the current context.

Version 4.4.1

December 9, 2020

  • [Fixed] When removing bloq assignments it would delete more than it should have. Oops!
  • [Fixed] On new installs the bloq manage screen might throw notice errors if using PHP 7.4+
  • [Fixed] Required atoms were not visually indicated as such in EE6

Version 4.4.0

November 20, 2020

  • [Changed] Normalize nomenclature in the UI by always referencing blocks as bloqs.
  • [Changed] Clear EE caches when creating, updating, deleting, or copying a bloq.
  • [Changed] Bloqs that are assigned to a field and are used in more than 1 entry can not be un-assigned from the field until it’s removed from the entry
  • [Changed] Disable used bloq assignments by default. Add config option to override.
  • [Added] logging for missing Atom or Block definitions
  • [Added] Entry Manager support. Bloqs field must be set to searchable, and atoms in a bloq must also be searchable in order to display content in the Entry Manager.
  • [Added] blocks_get_block_definition_usage hook
  • [Added] Deprecated bloqs option
  • [Added] Bloq usage reports. Now easily see how many, and which entries, are using specific bloqs.
  • [Fixed] Bloq definition edit page collapses the atom definitions by default on page load. This is the same behavior when editing a Grid field.
  • [Fixed] Block groups may be repeated in the Add Block menu
  • [Fixed] Various other small UI related issues.

Version 4.3.2

October 22, 2020

  • [Added] Can now remove assigned Preview Icon
  • [Fixed] Toggle field now displays as Titlecase (hacky fix for EE bug)
  • [Fixed] Issue when upgrading from EE6 beta 1 to beta 2

Version 4.3.0

October 19, 2020

  • [Updated] EE6 compatibility, which includes UI updates and Jump menu support.
  • [Added] Block groups. You can now organize your blocks into groups.
  • [Added] Block cloning. You can clone a block and all of it's child blocks if nesting is enabled.
  • [Added] Bloqs field caching! Disabled by default, must add `$config['bloqs_cache_enabled'] = true;` to your config.php file to enable it.
  • [Added] “Draft” now displays next to a block’s title if it is in draft mode
  • [Added] Assign an icon from a pre-determined list to a block instead of an image.
  • [Added] query caching to the relationship_query hook
  • [Fixed] Nesting rules would throw a JS error if a definition that is part of a rule is not available to the current Bloqs field
  • [Fixed] Ensure blocks retain their draft status when editing a revision
  • [Fixed] Editing a Revision and re-saving it would remove all block nesting data
  • [Fixed] Search compatibility improved when there are multiple Bloqs fields in the same entry
  • [Added] blocks:is:first_child and blocks:is:last_child template variables
  • [Fixed] total_blocks variables now display the correct count even if 1 or more blocks are in draft mode

Version 4.2.3

April 14, 2020

  • [Added] Atom/field names now display on the block definition edit page.
  • [Fixed] Non-nestable Bloqs fields should properly hide drafts (regression from 4.2.1 release)
  • [Fixed] Add Entry dropdown menu below a Relationship field would display expanded if more than 1 channel was assigned to it.
  • [Fixed] Draft blocks were not hiding correctly in certain nesting scenarios.

Version 4.2.2

March 6, 2020

  • [IMPORTANT] All BoldMinded add-ons now require PHP 7+. They might continue to work in PHP 5, but they are not supported in PHP 5. If you get an error, you will need to upgrade PHP.
  • [Fixed] The options menu now works correctly if multiple Bloq fieldtypes are on the same publish page
  • [Fixed] Add block icon now displays correctly in all browsers
  • [Added] Bloqs tag pair field now supports block_vars
  • [Fixed] Minor spacing issues when dragging nested blocks

Version 4.2.1

January 2, 2020

  • [Fixed] Relationship fields inside of blocks correctly show the entry titles in the block preview text

Version 4.2.0

December 30, 2019

  • [Updated] Bloqs UI has been updated! Adding new blocks and managing existing blocks is easier and more intuitive!
  • [Added] Optionally display add block menu as a grid with accompanying images to help describe the block to content editors.

Version 4.1.1

October 25, 2019

  • [Fixed] Minor SQL error

Version 4.1.0

October 14, 2019

  • [Added] License validation. After upgrading please enter a valid Bloqs license.
  • [Added] Blocks can now be set to Draft or Live mode. Click Status in a block's Options menu to change it's visibility status. When a block is set Draft, it will not display in your template or show it's child blocks if nesting is enabled.
  • [Fixed] Nested blocks with the “can’t be root” setting should properly trigger an error message
  • [Fixed] Prevent blocks from disappearing after save if the user clicked a save button more than once before it became disabled.
  • [Fixed] Prevent JS errors if an existing field is converted to Nestable and blocks do not have settings.

Version 4.0.21

June 13, 2019

  • [Fixed] Nested blocks with the “can’t be root” setting should properly trigger an error message

Version 4.0.20

May 8, 2019

  • [Added] If $config[‘bloqs_collapse_on_drag’] = ’n’ is in your config.php file, blocks will not collapse when sorting.
  • [Fixed] Prevent errors in Live Preview
  • [Fixed] A previous build broke the ability to make Bloqs fields and it's atoms seachable.

Version 4.0.19

February 16, 2019

  • [Fixed] Yet another change to account for the new File field that was previously missed.
  • [Added] {blocks:previous:id}, {blocks:next:id}, and {blocks:all_vars} to list out all the {blocks:*} variables and their values to help debugging.

Version 4.0.18

January 10, 2019

  • [Fixed] relationships_query hook was getting called after Publisher’s, which could cause incorrect results in Relationship fields in Bloqs if Publisher was also installed
  • [Fixed] Additional compatibility fixes to the new File field in EE 5.1

Version 4.0.17

January 7, 2019

  • [Fixed] EE’s native File Field stopped working correctly in Bloqs if you were using EE 5.1+

Version 4.0.16

December 27, 2018

  • [Fixed] Creating new blocks in EE5 was throwing a JS error
  • [Improved] Throw an exception with debugging information if the nested block history is messed up

Version 4.0.15

December 18, 2018

  • [Fixed] Prevent PHP error when using Live Preview and no relationships exist in a Bloqs field
  • [Fixed] Prevent error requesting LivePreview in EE3
  • [Fixed] Inadvertantly broke the nested variables in a previous release. E.g. {blocks:parent:*} {blocks:children:*} {blocks:siblings:*}

Version 4.0.13

November 26, 2018

  • [Fixed] Live Preview was throwing an error in non-nested Bloqs fields
  • [Fixed] When using Live Preview the RTE field would throw an error.

Version 4.0.12

November 23, 2018

  • [Fixed] Relationship fields in blocks now display correctly in Live Preview mode in the CP.

Version 4.0.11

November 15, 2018

  • [Fixed] Really small update to account for Wygwam 5.0

Version 4.0.10

November 13, 2018

  • [Fixed] Conditionals and block fields (atoms) were not being parsed correctly when inside of {close:*}{/close:*} tag pairs when using nested blocks

Version 4.0.9

November 5, 2018

  • [Fixed] Nesting now works correctly in Live Preview mode

Version 4.0.8

October 8, 2018

  • [Fixed] Saving blocks in a new field would not save the first block. Regression due to change in 4.0.7.

Version 4.0.7

October 4, 2018

  • [Added] When no blocks are assigned to a field, a message indicating so will display
  • [Fixed] Bloqs fields should be searchable again. Possible regression due to changes in EE.

Version 4.0.6

September 24, 2018

  • [Added] 30 day Free Trial Period
  • [Fixed] Make draggable handle selector more specific to avoid conflicts with other add-ons, like Ansel, that have drag and drop.

Version 4.0.5

July 19, 2018

  • [Added] Added block closing tags to the generated example field template code when nesting is enabled for the field
  • [Fixed] small issue introduced in the 4.0.4 update when a Wygwam field is inside of a block

Version 4.0.4

July 9, 2018

  • [Added] {blocks:id} variable
  • [Fixed] Nestable setting was not respected in some cases, thus fields were not allowed to be nestable in the CP.
  • [Fixed] Update call from get_single_field() to App::parseVariableProperties() to handle parsing correctly in EE3 and EE4.
  • [Fixed] Summarizer on RTE fields was causing JS error
  • [Fixed] Summarizer on Wygwam field’s

Version 4.0.3

May 1, 2018

  • [Fixed] Small fix to revert an incorrect change made in 4.0.2.

Version 4.0.2

April 26, 2018

  • [Fixed] Image file name previews when a block is collapsed should work again in EE4
  • [Fixed] Nested blocks work better with field validation and revisions. E.g. the nesting is not lost when the page reloads if you submit an entry with an error.
  • [Update] Remove calls to deprecated methods in EE

Version 4.0.1

March 6, 2018

  • [Fixed] The method to display blocks during field validation was not updated correctly to use the new model files

Version 4.0.0

March 2, 2018

  • [Added] Nested block trees! Read more about it at eebloqs.com
  • [Added] Bloqs supports the new Live Preview feature in EE 4.1.
  • [Added] blocks_delete_blocks_by_entry hook so saving revisions works
  • [Added] blocks_display_atom hook is now available in the Publish page.
  • [Changed] If you're using any of Bloqs' hooks you will want to review the changes in the Database/Adapter.php file. They are breaking changes and your current hook calls will no longer work.
  • [Improved] Bloqs now plays nice with EE's Entry Revisions
  • [Fixed] When viewing a revsion, then saving it as the new version of an entry, delete all the old blocks assigned before creating the new ones from the revision.

Version 3.3.3

January 23, 2018

  • [Fixed] Template examples would not display in EE4
  • [Fixed] Single Relationship fields would not save properly in EE4

Version 3.3.2

January 18, 2018

  • [Fixed] When using Publisher, saving Bloqs not in a field group in EE4 should now save correctly
  • [Fixed] When saving a Bloq field set to be searchable it should not throw an error in EE4
  • [Fixed] In some instances an error regarding field_text_direction would be thrown when using Text fields
  • [Fixed] Remove site_id from the getBlocks query. EE4 can have fields with the site_id of 0, so we can’t reliably use the site_id when fetching blocks.

Version 3.3.1

December 5, 2017

  • [Changed] Block buttons on publish page are replaced with dropdown menu.
  • [Fixed] If entry save button is pressed multiple times, and multiple submissions are allowed, Bloqs will now only accept the first submission and prevent chaos from ensuing.

Version 3.3.0

November 7, 2017

  • [Added] EE4 Support! Yes, the same version of Bloqs works in EE3 and EE4. Booyah.
  • [Fixed] Importing entries via Datagrab to a channel with a Bloqs field would throw an error.

Version 3.2.0

September 15, 2017

  • [Added] Blocks can now be copied, along with its atoms, to a new block definition.
  • [Added] blocks_update_field_data hook
  • [Added] You can optionally auto expand all blocks on the entry edit page.
  • [Fixed] Textarea fields with Toolbars defined should now display the toolbar correctly (CSS conflict)
  • [Fixed] File name is added to block heading when its collapsed. This was a regression due to a change in EE3 core files.
  • [Fixed] Viewing and editing the source html of a RTE field works again.
  • [Fixed] Sorting would not save if multiple Bloqs fieldtypes were on the page at the same time.
  • [Fixed] Re-sorting assigned blocks in the field settings page now saves the blocks in the correct order.

Version 3.1.5

August 1, 2017

  • [Added] Bloqs now calls block_delete(), grid_delete(), or delete() (in that order) on each fieldtype/atom within a block when it is deleted.
  • [Added] blocks_update_field_data() hook

Version 3.1.4

July 19, 2017

  • [Added] Two new hooks, blocks_pre_save_block and blocks_post_save_block hooks, were added to better support Publisher.
  • [Fixed] If updating an entry containing blocks via a module ?ACT request, such as a Datagrab import, the blocks will not be deleted or modified unless valid block data is present in the update request.

Version 3.1.3

June 22, 2017

  • [Fixed] In some cases the install scripts did not run in the correct order, thus the Bloqs database tables were not created.

Version 3.1.2

June 8, 2017

  • [Fixed] Sort update event was not firing, thus re-ordering blocks would not save.
  • [Fixed] Composer autoloader was not working when running module updates.

Version 3.1.1

June 7, 2017

  • [Fixed] Sort update event was not firing, thus re-ordering blocks would not save.
  • [Added] When deleting an entry Bloqs will remove related blocks from the exp_blocks_block and exp_blocks_atom tables.
  • [Fixed] named anchor tags within a textarea, or Wygwam, would save malformed html.
  • [Refactored] Bloqs now uses Composer internally for dependancies and autoloading.
  • [Refactored] Bloqs now uses github.com/litzinger/basee to manage updates.

Version 3.1.0

June 1, 2017

  • [Added] Bloqs now works with Publisher 2
  • [Added] New EE3 UI
  • [Added] New hook 'blocks_get_blocks' to allow for SELECT query string modification when fetching blocks.
  • [Added] New hook 'blocks_disassociate' to allow for DELETE query string modification when a block is removed from a field configuration.
  • [Added] hook 'blocks_create_block' to allow for INSERT query string modification when creating a block (exp_blocks_block table).
  • [Added] New hook 'blocks_set_atom_data' to allow for INSERT query string modification when creating an atom (exp_blocks_atom table).
  • [Added] New hook 'blocks_delete_block' to allow for modifying the DELETE query strings when deleting a block (exp_blocks_block and exp_blocks_atom tables)
  • [Added] New hook 'blocks_set_block_order' to allow for modifying the UPDATE query string used for saving the block set order (exp_blocks_block table).
  • [Fixed] Removed developer javascript console logs
  • [Fixed] Bug where checkbox validation error would be thrown on non-required checkboxes