User tests: Successful: Unsuccessful:
Pull Request for #33978 (comment) .
This pull request changes blog sample data so it uses for the "Main Menu Blog" the new "collapse-metismenu" layout of the Cassiopeia template which has been recently added by PR #33978. This makes this menu module collapsible and so behave like it was before that PR .
In addition, an update SQL script is added to update any menu module on module position "menu" which uses the "cassiopeia:dropdown-metismenu" layout to the new "collapse-metismenu" layout. Before PR #33978 , only menus on position "menu" were collapsible, therefore the limitation of this update SQL to modules on that position. Furthermore, the update is limited to modules using the "cassiopeia:dropdown-metismenu" layout in order not to risk updating menu modules with the default layout when other templates than Cassiopeia are used, i.e. any modules using the default layout will not be updated to the new "collapse-default" layout of the module.
Finally, the SQL statement in the "base.sql" script to insert the module for the main menu of the site is on new installation is changed to make sure that this module uses the non-collapsible default layout so that it behaves in the same way as before PR #33978 and because a collapsible menu on the right sidebar doesn't make much sense.
Step 1: Make a new installation with the current 4.0-dev branch or a nightly build of today, May 22, or later.
Step 2: Install "Sample Data Blog".
Step 3: Check the horizontal menu in the header section of the frontend on mobile screen size.
Result: The menu is not collapsed and there is no "burger" button.
Step 4: Check which layout is used for the "Main Menu Blog" module.
Result: The non-collapsible "Dropdown" layout of the "Cassiopeia" template is used.
Step 5: Create a few copies of the "Main Menu Blog" module at different module positions.
Step 6: Update to the patched package for this PR using the package or the custom update URL created by drone.
Step 7: Check again the horizontal menu in the header section of the frontend on mobile screen size (if necessary reload the page).
Result: The menu is collapsed and there is a "burger" button.
Step 8: Check in backend which layout is used for the "Main Menu Blog" module.
Result: The "Collapsible Dropdown" layout of the "Cassiopeia" template is used.
Step 9: Check which layouts are used by the other frontend menu modules.
Result: For other modules nothing has changed, they still use non-collapsible layouts.
Step 12: Make again a new installation using the full package built by drone for this PR or by applying the patch of this PR to a clean 4.0-dev branch again. It will not work if you continue with the result from the previous steps because the installation folder either has been deleted at the end of step 1 or it will be without the changes of this PR because the update package doesn't update any installation folder.
Step 13: Install "Sample Data Blog".
Step 14: Check in backend which layout is used for the "Main Menu Blog" module.
Result: The "Collapsible Dropdown" layout of the "Cassiopeia" template is used.
After the update e.g. from 4.0 Beta 7 or a nightly build from before May 22nd to the nightly of May 22 or later, a menu module with the "Dropdown" layout of the "Cassiopeia" template on module position "Menu" like e.g. the "Main Menu Blog" from a "Sample Data Blog" installation is not collapsible anymore like it was before that update, i.e. there is no "burger" button on mobile screens:
The same applies to a new installation of current 4.0-dev or a nightly of today (May 22) or later after installation of "Sample Data Blog".
After the update e.g. from 4.0 Beta 7 or a nightly build from before May 22nd or a current 4.0-dev branch to the patched package of this PR, a menu module with the "Dropdown" layout of the "Cassiopeia" template on module position "Menu" like e.g. the "Main Menu Blog" from a "Sample Data Blog" installation remains collapsible like it was before that update, i.e. there is still a "burger" button on mobile screens:
The same applies to a new installation of current 4.0-dev or a nightly of today (May 22) or later after installation of "Sample Data Blog".
None.
Status | New | ⇒ | Pending |
Category | ⇒ | SQL Administration com_admin Postgresql Front End Plugins |
What do you think about an additional note on the template params page of cassiopeia with information for on the layouts?
I'm not in favour of that. We should have some documentation on it of course, but I think that should not be in the backend.
Labels |
Added:
?
|
Category | SQL Administration com_admin Postgresql Front End Plugins | ⇒ | SQL Administration com_admin Postgresql Installation Front End Plugins |
Title |
|
Title |
|
I have tested this item
Thank you, works as described. Tested on MariaDB only.
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-05-25 09:46:21 |
Closed_By | ⇒ | drmenzelit | |
Labels |
Added:
?
|
Thanks
Thanks all.
What do you think about an additional note on the template params page of cassiopeia with information for on the layouts?