Structure Changelog

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

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