Under the Template: Options there is a selection for Preview Module Positions. When this is Enabled and the URL of the site is appended with ?tp=1, all positions should be displayed even if there are no modules loaded into them.
All positions should be displayed.
Casiopeia has 16 positions, but only 5 are displayed when no modules are loaded on the page. i.e. topbar, below-top, breadcrumbs, main-top, main-bottom and debug.
Under normal operation templates use the countModules() function to decide if a module position should be displayed.
There is no point in the Position Preview if you can't see everything. i.e. All 16 positions in Casiopeia.
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
The PR that broke the behaviour was #35225 and specifically in this code.
joomla-cms/libraries/src/Helper/ModuleHelper.php
Lines 169 to 174 in 79ac1e1
Sorry I dont understand it enough to fix it.
See also #34743 tests are welcome!
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-12-08 16:46:04 |
Closed_By | ⇒ | Fedik |
For reference the pull request that should make this work was #29521