joomla / joomla-cms

Home of the Joomla! Content Management System
https://www.joomla.org
GNU General Public License v2.0
4.73k stars 3.64k forks source link

Module class is not applied to custom module #43372

Closed luX0r-reload closed 4 months ago

luX0r-reload commented 4 months ago

Steps to reproduce the issue

Create a Custom module and set a Module class.

Expected result

Module class appears in front-end.

Actual result

Module class doesn't appears in front-end.

System information (as much as possible)

Ubuntu 22.04.4 PHP 8.1.2 MariaDB 10.6.16 Apache/2.4.52 Joomla! 5.1.0 Stable [ Kudumisha ] Joomla Backward Compatibility Plugin Disabled

Additional comments

Template: just a Cassiopeia child template, but the issue is on the default Cassiopeia too.

RickR2H commented 4 months ago

In what position was the module added? Did you try to change the module chrome style? When a position has a style of "none" in the template, the styles are not applied. Try setting it to "card" or "noCard".


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

luX0r-reload commented 4 months ago

Menu position. Module style is on Inherited. Changing style not affect the result.

EDIT: setting style to "noCard" works!

RickR2H commented 4 months ago

Glad it works! Please close the issue as the behavior is by design and not a bug.

PS. It's really easy to override the module chrome to create your own module wrapper styles.


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

joomla-cms-bot commented 4 months ago

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