Structure Changelog

2024-12-17

5.4.4

Changed

  • PHP 8.4 Ready
  • Foundation Updated to 4.11.0
2024-05-07

5.4.3

Fixed

  • Php 8.2 issues
  • Release Earlier today had issues being from wrong branch and this untangles that
2024-05-07

5.4.2

Fixed

  • Php 8.2 issues
2024-04-04

5.4.1

Fixed / Added

  • Php 8.2 issues
2024-03-06

5.4.0

Fixed / Added

  • Php 8.2 issues
  • Documentation for tags
  • Mobile views
2023-06-19

5.3.2

Fixed

  • Display issue of li in nav
2023-06-13

5.3.1

Fixed

  • Pagination issue when using attatched listings
2023-04-19

5.3.0

Fixed

  • PHP 8.2 issues
  • Updated foundation
2022-09-16

5.2.2

Fixed

  • RTE bug cache
  • PHP 8+ warning issues on empty listing arrays
2022-08-10

5.2.1

Fixed

  • Bulk editing the status of entries managed by structure
  • EE7 using files single tags in nav_basic and nav_advanced was outputting {file:XX:url} instead of parsing correctly
2022-06-13

5.2.0

Fixed

  • Various php 8+ issues

Added

  • EE7 Compatibility!
  • Themes for core v7
2022-06-13

5.1.1

Fixed

  • When an entry's channel was changed from the entry editing under the options tab, structure would not recognize that change
2022-04-28

5.1.0

Fixed

  • Various php 8 issues
  • PSR 12 updates

Added

  • Support for conditional fields!
2021-11-16

5.0.1

Changed

  • Updated EEHarbor Foundation to fix issue with multiple add-ons ignoring MSM sites

Fixed

  • A PHP warning on the structure tree page when running pre-6.1.0 versions of ExpressionEngine.
2021-10-20

5.0.0

Added

  • New global variable to check if page is hidden structure:page:hidden
  • ExpressionEngine Prolet (for front end navigation management)
  • Added ignore option for MSM sites (licenses management)

Changed

  • Updated User Interface for ExpressionEngine 6
  • Updated control panel pages for EE6

Fixed

  • A MySQL error related to only_full_group_by SQL mode
  • A bug that where Structure treated Forum posts as live previews, causing the submissions to fail
  • A PHP error that occurred when deleting an entry
  • Module settings page load issue when all roles were empty
  • Structure adheres to channel preview settings
  • "Assets" channel should not set preview_url
  • Add child page was not working properly
  • Listing URI set correctly when using exp:channel:form tags
  • SQL error
  • Entry ID not being found due to URI case discrepancy
  • Out of memory errors when reordering pages on sites with large quantities of entries
2020-12-15

4.7.0

Added

  • New entry_id parameter for the breadcrumb tag.
  • New wrap_each_class parameter to the breadcrumb tag, allowing the specification of a class when using wrap_each.
  • EE6 compatibility with new Member Roles
  • EE6 compatibility with Live Preview

Fixed

  • A PHP error in the sitemap tag.
  • A bug where live preview ignored parent segments when building the preview.
  • A PHP 7.4+ error that could occur when using the show_overview parameter.
  • A PHP 7.4 "Trying to access array offset on value of type null" warning.
  • A bug in the advanced navigation tag where file directory variables were not parsed.
  • Live Preview not honoring selected Structure template when creating new entries.
2019-11-07

4.6.1

Fixed

  • Fixed a bug where an error would be thrown when deleting channel data.
  • Fixed a bug where the parent_id was defaulting to the homepage instead of parent_id of 0.
2019-11-06

4.6.0

Added

  • New structure_listing_parent hook to allow extensions to modify the parent_id returned when editing either a listing entry or a parent entry that has listings.

Fixed

  • Fixed a bug where a 404 response could be returned in error.
2019-06-21

4.5.0

Added

  • Ability for extensions using structure_index_view_data hook to specify a selected_tab when viewing the Structure Tree in the control panel. Was added as part of Transcribe's new Sticky Tab feature.
2019-06-10

4.4.6

Fixed

  • Massive performance fix when viewing / editing channel entries
  • A couple of live preview fixes for global variables and breadcrumbs
2019-05-23

4.4.5

Fixed

  • prefix:channel_short_name variable in nav:advanced tag
  • prefix:channel variable in nav:advanced tag
  • Duplicate Structure URLs for listing entries
2019-01-25

4.4.4

Changed

  • Structure TAB: Changed Structure URI field max length to 200 to match EE's default
  • Structure URL Title max length normalized to match EE's max length of 200
  • Structure Listing URI max length normalized to match EE's max length of 200

Removed

  • Structure TAB: Removed unused variable

Fixed

  • Previous fix for increasing url_title database field length was not being applied to existing installs
2019-01-02

4.4.3

Fixed

  • Fixed "Redirect to Structure on entry publish/save" missing hook
  • Fixed missing alert when saving Module Settings page
2018-12-05

4.4.2

Fixed

  • Fixed php error notice being thrown in some live preview requests
2018-11-26

4.4.1

Fixed

  • EE2: Fixed failure to load namespaced class files properly
2018-11-09

4.4.0

Added

  • ExpressionEngine 5 support

Changed

  • Changed main SQL query to perform much faster

Removed

  • Deprecated EE1 methods nav_sub, nav_full, and nav_main

Fixed

  • Fixed Channel Settings saved notice not displaying
  • Structure tab Parent now correctly unsets parent if NONE is selected
  • Regex for Structure URL generation is now the same throughout Structure
  • Regex now allows using a period in Structure URL to match EE
2018-10-01

4.3.25

Fixed

  • Added hook in set_listing_data to allow other add-ons to modify listing data before it's saved.
2018-08-28

4.3.24

Fixed

  • Fixed PHP error in foundation
2018-08-17

4.3.23

Fixed

  • Fixed issue checking for duplicate Structure URLs
  • Added passing of entry_id to structure_allow_dupes hook
2018-08-10

4.3.22

Fixed

  • Fixed foundation issues with OPCache
  • Added check for updated db column with redirect and warning to update structure
2018-08-08

4.3.21

Fixed

  • Fixed issue with Structure settings inheriting query modifiers
2018-07-12

4.3.20

Fixed

  • Fixed PHP fatal error accessing Structure with restricted member groups
2018-07-10

4.3.19

Added

  • Added License Validation

Fixed

  • Fixed issue with channel:title param not working on EE4 or taking an exorbitant amount of time to execute
2018-06-06

4.3.18

Fixed

  • EE4: Fixed Structure global variables not parsing in Live Preview
2018-06-05

4.3.17

Fixed

  • Fixed issue where live preview fix from 4.3.10 would not update properly
  • Fixed redirect back to Structure on entry save in EE 4.3.x
2018-05-22

4.3.16

Fixed

  • Fix for PHP fatal error if OPcache was not installed
2018-05-17

4.3.15

Fixed

  • Fixed issue where "Update Available" link could sometimes use the wrong version number
2018-05-17

4.3.14

Fixed

  • Fixed PHP fatal error on some servers where OPcache with opcache.validate_permission is enabled.
2018-05-03

4.3.13

Fixed

  • Fixed issue with foundation phar on hosts where phar extension is disabled
2018-04-24

4.3.12

Fixed

  • Fixed pagination due to edge case where hook update didn't run for some users during upgrade
2018-04-17

4.3.11

Fixed

  • Fixed issue with 4.3.10 update if preview_url was NULL
2018-04-17

4.3.10

Fixed

  • Fixed compatibility with EE 4.1's new Live Preview feature
2018-02-28

4.3.9

Fixed

  • Fixed count() errors in PHP7.2
  • Fixed Structure redirect issues
2018-01-26

4.3.8

Fixed

  • Fixed short array notation for compatibility with older PHP installs
2018-01-26

4.3.7

Changed

  • Cleaned up Validation styles in EE2
  • Clarified Structure Missing Entries description

Fixed

  • Fixed EE2 accessory edit link
2018-01-19

4.3.6

Fixed

  • Fixed issue deselecting Listing Channel on entry's Structure Tab
2018-01-16

4.3.5

Fixed

  • Fixed issue with some browsers caching the redirect back to Structure after channel entry save
2018-01-16

4.3.4

Fixed

  • EE4: Fixed error using Structure fieldtype in a Grid or Fluid field
  • EE4: Fixed performance issue when using exp:structure:nav_basic or exp:structure_nav_advanced
  • EE4: Fixed deprecated url_title() error
  • General performance updates
2017-12-29

4.3.3

Fixed

  • Fixed PHP Notice error when saving an entry
2017-12-13

4.3.2

Fixed

  • Fixed issue with PHP7's "cannot return value in write content" restriction
2017-12-07

4.3.1

Fixed

  • Fixed an issue with trying to type a namespaced variable to an integer
2017-12-05

4.3.0

Added

  • EE4 Compatibility!
2017-09-25

4.2.2

Fixed

  • Fixed PHP error when trying to unmanage channels
2017-09-25

4.2.1

Fixed

  • Fixed issue saving Parent ID when Structure channel entry tab was hidden
2017-09-25

4.2.0

Added

  • Structure now displays a dropdown when there are more than 7 tabs on the Structure Pages tree page.

Fixed

  • Fixed issue saving Structure URL when Structure channel entry tab was hidden
2017-07-31

4.1.18

Fixed

  • Fixed CSS issue in EE2 that caused the tree menu to be adjusted too high partially cutting it off
2017-07-25

4.1.17

Added

  • Added structure_modify_publish_tab_settings hook to fix issue with Hide in Nav not working properly
2017-06-13

4.1.16

Added

  • Added structure_nav_history_states config override to set number of history states to keep
  • Added cleaner routine to delete old history states
2017-05-23

4.1.15

Fixed

  • Fixed issue with exp:structure:entries not respecting 'dynamic="no"' when viewing a page with a category filter
2017-05-15

4.1.14

Fixed

  • Fix for missing site_id variable in older SAFECracker methods
2017-05-05

4.1.13

Fixed

  • Fixed issue with fresh install not setting default timestamp on tree (slightly different issue than last update)
  • Fixed issue with EEHarbor Foundation on < EE 2.8.0
2017-04-19

4.1.12

Fixed

  • Fixed issue with fresh install not setting default timestamp on tree
2017-04-06

4.1.11

Added

  • Added 'strict_start_from' param that can be set to "yes" so if your "start_from" param is not found, Structure will not return the default top-level tree

Changed

  • Reverted old fix that was added to remove the "index.php" from fieldtype entries. To remove your index page, change your EE's index page config value instead.
2017-04-05

4.1.10

Fixed

  • Fixed rare validation issue preventing use of 'Use Structure' cleanup method when an orphaned entry in the EE URL Routing existed with no matching Channel Entry or Structure Entry
2017-03-28

4.1.9

Changed

  • Changed the visual UX of the reordering mechanism
2017-03-28

4.1.8

Fixed

  • Fixed issue with Structure Redirect when using "Cookies & Session" in the "Security & Privacy" settings
2017-03-28

4.1.7

Added

  • Added overlay when sorting to prevent trying to sort a 2nd time when 1st sort hadn't finished
  • Added sort timestamp to prevent 2+ users or single user with multiple Structure pages open from sorting old data over newer data
  • Added Validation hooks so other add-ons can display Structure-related validation info

Fixed

  • Added JS to populate blank Structure URL field when certain add-ons create entries outside the normal EE entry flow
2017-03-20

4.1.6

Fixed

  • Fixed greedy child page grabbing the default homepage as parent when it only needed it's old existing parent instead (or none)
2017-03-16

4.1.5

Fixed

  • Fixed issue with '{structure:page_url_for:XX}' not applying trailing slash properly
  • Patched against EE Core Bug when deleting members can sometimes fire the 'save()' method with NULL data for Structure entries
2017-03-09

4.1.4

Added

  • Added hook calls for structure_generate_page_url_end to allow other add-ons to modify the Structure URL if necessary

Fixed

  • Fixed failure to activate Structure Extension hook for after_channel_entry_save in order to setup new Structure Redirect data
2017-02-28

4.1.3

Added

  • Added display of URL mismatches between EE and Structure
  • Added display of duplicate URLs in EE's site_pages
  • Added Template ID Validation to show which entries are missing an associated template_id

Changed

  • Upgraded validation to also display listing entries missing from Structure

Fixed

  • Fixed errors when listing entries are associated with templates that no longer exist
2017-02-22

4.1.2

Fixed

  • Fixed issue with Structure "Redirect to Structure on entry publish/save" when EE's "CP Session Type" is set to "Cookies and Session ID"
2017-02-15

4.1.1

Fixed

  • Fixed Validation repair issue when there were entries in Structure but no entries in EE at all
2017-02-13

4.1.0

Added

  • Added access permissions for users being able to access Nav History and Validation
  • Validation system now gives you the choice to fix your Structure Tree with what ExpressionEngine has or fix ExpressionEngine with what Structure has
  • Added structure_url_title and template_id to exp_structure table for data integrity checks
  • During upgrade to Structure 4.1.0, Structure syncs structure_url_title and template_id with your current site_pages array data

Changed

  • Massively upgraded Validation system
  • Changed Structure's "Redirect to Structure on entry publish/save" to set flashdata and redirect on next page load using sessions_end instead of after_channel_entry_X hooks to prevent issues with other add-ons
  • Increased length of Structure's url_title field to 255 characters

Fixed

  • Fixed issue where the Structure URL changed if the Page Title was edited in EE3
  • Fixed conflict with other add-ons using the after_channel_entry_update hook
  • Fixed check for ee()->extensions->last_call to accept NULL as response
  • Suppressed error when template_id is not available for a specific channel
  • Fixed Structure using full URI of parent/child when Channel Form Layout hides Structure URL field
  • During upgrade to Structure 4.1.0, we check and change the type of your exp_sites site_pages column from TEXT to LONGTEXT to prevent data truncation/corruption of your site_pages array when you have a lot of pages in Structure
2017-02-01

4.0.3

Fixed

  • Reverted the fix for the entry hook as an EE hook ordering issue introduced a bug when saving categories and the Structure URL
2017-01-31

4.0.2

Fixed

  • Fixed issue with EE3 not remembering open/closed state of Structure tree
2017-01-31

4.0.1

Added

  • Adds integration with EE3's Menu Manager to add Structure to your control panel menu!

Changed

  • Extracted extension functions into a format that's easier to manage going forward.

Fixed

  • Fixed error when reordering entries associated with listing channels after the channel has been deleted
  • Stopped using after_channel_entry_save hook for the "Redirect to Structure on entry save/publish" in favor of after_channel_entry_insert and after_channel_entry_update as the _save hook was firing before _update causing issues with other add-ons that relied on the _update hook
2017-01-17

4.0.0

Fixed

  • Added query caching to commonly run structure queries to increase performance
  • Fixed "Add first page" from the channel settings page when there were no pages generated a bad link
  • Fixed page variable error in the structure:paginate tag (deprecated)
  • Fixed undefined index warnings when getting the template_id
2017-01-02

4.0.0-b.12

Fixed

  • Fixed issue with ee() not being declared in older EE installs.
  • Fixed redirect issue with "Save" and "Save and Close"
2016-10-28

4.0.0-b.9

Fixed

  • Fixed a few issues where {base_url} was part of the URL
  • Fixed a bug that occasionally lead to Listing URL's being incorrect
2016-09-28

4.0.0-b.8

Fixed

  • Fixed issue with {structure:page:url} and {structure:parent:url} tag
  • Fixed edge-case install bug
2016-09-22

4.0.0-b.7

Fixed

  • Fixed issue with listing pages not being loaded properly
2016-09-20

4.0.0-b.6

Fixed

  • Fixed issue with theme path for assets in accessory file sometimes returning the wrong path
2016-09-12

4.0.0-b.5

Fixed

  • Fixed issue creating a listing entry in EE2
2016-09-06

4.0.0-b.4

Fixed

  • Fixed issue with {base_url} tag showing up instead of rendered URL
2016-09-02

4.0.0-b.3

Fixed

  • Fixed issue with nav history restored date column throwing a SQL error in MySQL 5.7+
2016-09-01

4.0.0-b.2

Fixed

  • Fixed issue with EE2/EE3 using incorrect URL for viewing Structure Listings in EE control panel
2016-09-01

4.0.0-b.1

Added

  • ExpressionEngine 3.x support
  • Unified EE2 & EE3 code base
  • Added More robust validation / debug tools for users
  • Added Navigation history (you can now roll back to any navigation state you had in structure)
  • Added Rob Sanchez Structure Nav to the core to allow for customizable navigation markup

Changed

  • When removing a page from Structure - changed “Delete" to “Remove" making the act less confusing (since it never actually deleted the entry). Also added the "Note: Does not delete channel entry" to the "Remove Page" confirmation modal.
  • Started using hook for ‘after_channel_entry_save’ handles the EE3 "Redirect to Structure on entry publish/save”
  • Changed “Debug” to “Validation” and made it always visible
  • Changed the way Structure pages we’re submitted in the ExpressionEngine control panel to remove issues with users hitting the PHP max_post_vars and corrupting their site_pages array
  • Updated code base to run on EEHarbor Foundation

Fixed

  • Previously, entries in a listing channel still displayed the Listing Channel dropdown which caused an error when trying to save if the original listing channel was not associated with a parent page
  • Previously, if you changed a channel to "Unmanaged" and clicked "Save Channel Settings", it prompted you to confirm unmanaging the channel but it already had done so (without removing the channel entries though).
  • Changing a Channel to "unmanaged" from "listing" did not remove the listing entries associated with that channel from the exp_structure_listings table.
  • Fixed a bug with parent_id being an array sometimes
  • Fixed multiple bugs where array data wasn’t checked before being used