PR-6.1-dev Pending

User tests: Successful: Unsuccessful:

avatar drmenzelit
drmenzelit
15 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

When you create an override of collapse-default.php (for example to change the breakpoint where the navigation collapses), you get a server error because the file expects to find the default.php layout to be in the same folder (<?php require __DIR__ . '/default.php'; ?>)
This PR changes it to ModuleHelper

Testing Instructions

Copy the collapse-default.php from mod_menu into your template (e.g. Cassiopeia). Create a menu module which uses the layout Collapsible Default Menu. Go to the frontend.

Actual result BEFORE applying this Pull Request

grafik

Expected result AFTER applying this Pull Request

The website is displayed without errors.

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 drmenzelit drmenzelit - open - 15 Apr 2026
avatar drmenzelit drmenzelit - change - 15 Apr 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 15 Apr 2026
Category Modules Front End
avatar drmenzelit drmenzelit - change - 19 Apr 2026
Labels Added: PR-6.1-dev
avatar adarshdubey03 adarshdubey03 - test_item - 20 Apr 2026 - Tested successfully
avatar adarshdubey03
adarshdubey03 - comment - 20 Apr 2026

I have tested this item ✅ successfully on 080b905

Tested Successfully!


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47599.

Add a Comment

Login with GitHub to post a comment