No Code Attached Yet
avatar barsdeveloper
barsdeveloper
2 Sep 2021

Steps to reproduce the issue

Create a new template style
Make it default
Try to open a page that isn't assigned to a menu (like module edit or user profile)

Expected result

It should use the default template style

Actual result

It uses the style of the home page

avatar barsdeveloper barsdeveloper - open - 2 Sep 2021
avatar joomla-cms-bot joomla-cms-bot - change - 2 Sep 2021
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 2 Sep 2021
avatar PhilETaylor
PhilETaylor - comment - 7 Sep 2021

I cannot replicate this in Joomla 4.0.3-dev/PHP8.0.10

I:

  • Duplicated "Cassiopeia - Default" and called it MINE and before saving made changes like turning off brand, changing the colour theme, and enabling the three options

Screenshot 2021-09-07 at 19 27 42

I also set it to default and saved:

Screenshot 2021-09-07 at 19 28 09

Then I logged into the frontend as a super admin and tried to edit a module and I was CORRECTLY given my new style

Screenshot 2021-09-07 at 19 28 56

I then tried the profile edit page index.php?option=com_users&view=profile&layout=edit and again got the right customised template style.

avatar brianteeman
brianteeman - comment - 7 Sep 2021

Module edit would use the style of the page that you are editing the modules on.

In my test (just like @PhilETaylor ) if i edit the modules on the home page the template style used is as expected the template style of the home page and if I edit the modules of another page that is using the default template style then its is as expected using the default template style.

Pages that have no menu item at all (unless created) will always use the settings of the default homepage. That would include the template styles and modules.

avatar barsdeveloper
barsdeveloper - comment - 8 Sep 2021

Module edit would use the style of the page that you are editing the modules on.

In my test (just like @PhilETaylor ) if i edit the modules on the home page the template style used is as expected the template style of the home page and if I edit the modules of another page that is using the default template style then its is as expected using the default template style.

Pages that have no menu item at all (unless created) will always use the settings of the default homepage. That would include the template styles and modules.

Ahh so it is expected behavior. But this creates (depending on the type of settings the template has) profoundly different user experience determined by the page the module is edited on. Is there a way to prevent this behavior? I mean even a snippet of code to put in some template override.

avatar brianteeman
brianteeman - comment - 8 Sep 2021

You could take a look at this free plugin https://extensions.joomla.org/extension/clean-edit/

avatar joomla-cms-bot joomla-cms-bot - close - 13 Sep 2021
avatar jwaisner jwaisner - change - 13 Sep 2021
Status New Expected Behaviour
Closed_Date 0000-00-00 00:00:00 2021-09-13 01:36:22
Closed_By jwaisner
avatar joomla-cms-bot joomla-cms-bot - change - 13 Sep 2021
Status Expected Behaviour Closed
Closed_By jwaisner joomla-cms-bot
avatar joomla-cms-bot
joomla-cms-bot - comment - 13 Sep 2021

Set to "closed" on behalf of @jwaisner by The JTracker Application at issues.joomla.org/joomla-cms/35465

avatar jwaisner
jwaisner - comment - 13 Sep 2021

Closing as this is expected behavior.


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

Add a Comment

Login with GitHub to post a comment