Language Change NPM Resource Changed PR-6.2-dev Pending

User tests: Successful: Unsuccessful:

avatar TLWebdesign
TLWebdesign
10 Apr 2026

Pull Request resolves # .

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

This pull request adds module assignment inheritance for menu items.
This is one of the projects from the Joomla 8 Sprint. More info here: https://developer.joomla.org/features/45-joomla-6-x/53-simplify-onboarding/995-ui-ux-intelligent-module-assignment.html

  • Adds an optional inherit flag to #__modules_menu.
  • Adds a component option to enable or disable module inheritance (opt-in).
  • Extends the module assignment UI with inheritance controls for parent menu items.
  • Supports Inherit for direct children and Inherit all for the full descendant tree.
  • Materializes inherited module assignments when menu items are saved, copied, or moved.
  • Preserves inheritance settings when modules are copied or duplicated.
  • Improves the module assignment tree UI by locking inherited items, showing an “Inherited from ancestor” badge, and clearing inheritance when using the global “Assign to menu items -> None” action.
  • Adds accessibility labels for the inheritance dropdowns.

Testing Instructions

  1. Go to System -> Manage -> Extensions -> Modules -> Options.
  2. Enable module inheritance.
  3. Create or edit a site module.
  4. Open the Menu Assignment tab.
  5. Select a parent menu item that has child menu items.
  6. Set the parent item inheritance dropdown to Inherit.
  7. Confirm only direct child menu items are selected and locked.
  8. Change the parent item inheritance dropdown to Inherit all.
  9. Confirm all descendant menu items are selected and locked.
  10. Confirm descendant inheritance dropdowns are hidden and replaced with an Inherited from ancestor badge.
  11. Save the module.
  12. Reopen the module and confirm the inheritance setting is retained only on the configured parent item.
  13. Create a new child menu item below the inherited parent.
  14. Confirm the module assignment is applied to the new child menu item after saving.
  15. Move a menu item or subtree below a parent with inheritance enabled.
  16. Confirm inherited module assignments are applied to the moved item or subtree.
  17. In the module assignment tree, click the global None button.
  18. Confirm all menu assignments are unchecked and all inheritance dropdown values are reset to No inheritance.

Actual result BEFORE applying this Pull Request

  • Module assignments can only be configured manually per module and menu item.
  • When assigning a module to a parent menu item, child menu items do not automatically receive that module assignment. Site administrators need to manually select each child item, and newly created or moved child menu items do not inherit the parent’s module assignment.
  • There is no UI to indicate or manage module assignment inheritance in the menu assignment tree.

Expected result AFTER applying this Pull Request

  • When module inheritance is enabled, site administrators can configure module assignment inheritance directly in the module assignment tree.
  • A parent menu item can be set to inherit assignments to direct children or to all descendants. Inherited child items are automatically selected and locked in the UI, while descendant inheritance controls covered by Inherit all show an Inherited from ancestor badge instead of a misleading
    disabled dropdown.
  • Saving, copying, and moving menu items applies the relevant inherited module assignments automatically. The assignment UI remains accessible, and the inheritance dropdowns have meaningful accessible names.

Link to documentations

Please select:

  • Documentation link for guide.joomla.org:

  • No documentation changes for guide.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar TLWebdesign TLWebdesign - open - 10 Apr 2026
avatar TLWebdesign TLWebdesign - change - 10 Apr 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 10 Apr 2026
Category SQL Administration com_admin Postgresql com_menus com_modules Language & Strings Repository NPM Change JavaScript Installation
avatar TLWebdesign TLWebdesign - change - 10 Apr 2026
The description was changed
avatar TLWebdesign TLWebdesign - edited - 10 Apr 2026
avatar TLWebdesign TLWebdesign - change - 10 Apr 2026
Labels Added: Language Change NPM Resource Changed PR-6.2-dev
avatar TLWebdesign TLWebdesign - change - 10 Apr 2026
The description was changed
avatar TLWebdesign TLWebdesign - edited - 10 Apr 2026
avatar github-actions[bot]
github-actions[bot] - comment - 12 Apr 2026

This pull request has conflicts, please resolve those before we can evaluate the pull request.

Add a Comment

Login with GitHub to post a comment