Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Download hansel-7.x-1.4.tar.gztar.gz
44.38 KB
MD5: 5865c81e8e846d5cc6c8978d8b580302
SHA-1: 8b8112e11c9d61afaafb89e5e27dcec9c67d2923
SHA-256: c0d31ff382a8c728051c23c6c543ed439c998805f9f9fba727bcd04394ff6f15
Download hansel-7.x-1.4.zipzip
54.56 KB
MD5: 55be168304927608b48d4d11fbda7aad
SHA-1: 41ff901943fbe7be7246c4269bb5ed23adac6476
SHA-256: 064237017cef294ec8d39cda9f52bef9c4d05a93df95a22c7ed64381876be7fe
Release notes
This release includes many bug fixes and some new features.
Changes are mainly focussed on i18n support and the "add parents" action.
Full list of changes:
- by mauritsl: Add configurable parents per nodetype for the add parents breadcrumbs action
- Fix hansel-path token
- by mauritsl: Add the ability to set the active menu item based on the breadcrumbs
- #837004: Add features integration
- Fix inline documentation for features integration
- #1278514: Remove break in rules loop. Code was added when porting Hansel to D7, reason for these lines is unknown.
- #1482094: Add request uri switch
- #1482094: Add request uri switch to readme file
- #1674742: Fix Hansel domain breadcrumb action.
- #1365428: Do not treat commerce products as taxonomy terms
- #1364440: Add configure link to info file
- Fix notices from token integration
- Fix features integration: sort exported variables by name to keep export code consistent
- Only set menu item when 'access' argument isset
- Renumber rule id's in features export to keep export consistent
- Add functionality to find parents based on url aliases
- Add functionality to find parents based on url aliases - should also work with system paths
- Fixes for alias token
- Check recursion in Add parents action on hash instead of path, to allow non hierarchical site structures where multiple parents may have the same path
- #1600700 by guy_schneerson: Fixed hansel_taxonomy.module doesn't work in localized Drupal when viewing term pages.
- Allow links to paths starting with a slash. This can be used to link to paths outside the basepath.
- Add configuration option to choose domain on 'add domain' action
- Remove hansel_domain.install, was accidentally added
- Add flags option to hansel_get_breadcrumbs to provide a way for switches and actions to act different
- Add menu flag when generating trail for setting active menu item
- Ignore domain crumbs when searching for menu items or generating aliases
- Do not add parents on frontpage
- Make 'add domain' action compatible with dominion directory
- Add 'skip link in url alias' option to 'add single link' action
- Fix check for frontpage in add parents action
- Remove useless exists module check for menu module in menu hook implementation
- Add preference for menu links with lower depth and weight when searching for parents
- Stop when frontpage is found in add parents crumb action to avoid duplicate items in breadcrumbs when frontpage is added as a menu item
- Implement caching for whole breadcrumbs
- Implement hook_hansel_menus_alter() in get parents breadcrumb action
- Allow temporary disabling cache by using $conf
- Fix visible HTML in breadcrumbs which are derived from the page title
- Fix menu activation when node title does not match menu item title
- Fix menu activation for pages without menu item.
- Fix menu activation for i18n sites
- #1786662 by mattew, blackandcode: Fix i18n issues with add parents action.
- #2266671 by derhasi: Do not process unnecessary token generation.
- #2210469 by derhasi: Fix call to undefined function in some cases when reverting a Hansel feature
- #1869630 by frobinrobin, ezeedub: Fix notices in hansel_tokens()
- #2010782: Fix token error on status page
- #2080905 by pgillis: Fix undefined property exception in token integration when page manager is enabled for node/add.