Skip to content

Template Module Positions Not Displaying All Positions #36071

@philowantage

Description

@philowantage

Steps to reproduce the issue

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.

Expected result

All positions should be displayed.

Actual result

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.

System information (as much as possible)

Under normal operation templates use the countModules() function to decide if a module position should be displayed.

Additional comments

There is no point in the Position Preview if you can't see everything. i.e. All 16 positions in Casiopeia.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions