Create a new template in J4 with a module of same name as one in Cassiopeia, e.g. 'breadcrumbs'
Create two modules, one assigned to the 'breadcrumbs' position in Cassiopeia, one to the 'breadcrumbs' position in the new template.
Only one of these modules should appear in either rendering.
Both modules are displayed:
It happens whichever template is assigned as default.
Joomla 4 Beta 3 and also Joomla 4 Beta 4 nightly from 02/09/2020.
I appreciate that in the end it is unlikely that anyone would assign two modules of the same name and type to the same page, but for testing purposes, it's a bit confusing.
Labels |
Added:
?
|
Otherwise when you change the site template you would have to change all your modules
You may have a point, but having said that, the module names for the new J4 Cassiopeia template are totally different from those of Protostar with the only names in common being 'banner' and 'debug'.
My point still stands. This is also why the UI just displays the module position and not the module position and template
This should be closed as the intended and expected behaviour
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-10-03 11:06:49 |
Closed_By | ⇒ | Scrabble96 |
If I am not mistaken this has always been the case and its actually really useful if templates use the same position names. Otherwise when you change the site template you would have to change all your modules