? Pending

User tests: Successful: Unsuccessful:

avatar ciar4n
ciar4n
11 Jun 2018

Pull Request for Issue #15279 .

Summary of Changes

Adds HTML classes using the following standard to all frontend modules.

Default views

ExtensionType-Extension (Eg. mod-articlesnews).

Alternative layout views

ExtensionType-Extension-View (Eg. mod-articlesnews-vertical).

Child views and child elements within the views

BEM class naming is adopted..

ExtensionType-Extension__Element (Eg. https://github.com/joomla/joomla-cms/blob/4.0-dev/modules/mod_menu/tmpl/default_heading.php - mod-menu__heading).

For B/C, old classes remain. This PR is a continuation of this standard already applied to mod-login ( #20147).

Testing Instructions

Code review.

Expected result

All works fine

Actual result

All works fine

Documentation Changes Required

Yes

avatar ciar4n ciar4n - open - 11 Jun 2018
avatar ciar4n ciar4n - change - 11 Jun 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 11 Jun 2018
Category Modules Front End
avatar ciar4n ciar4n - change - 11 Jun 2018
The description was changed
avatar ciar4n ciar4n - edited - 11 Jun 2018
avatar ciar4n ciar4n - change - 11 Jun 2018
Labels Added: ?
avatar ciar4n ciar4n - change - 11 Jun 2018
The description was changed
avatar ciar4n ciar4n - edited - 11 Jun 2018
avatar richard67
richard67 - comment - 12 Jun 2018

Doesn’t this also require an update of (s)css e.e. of the Cassiopeia template?

avatar ciar4n
ciar4n - comment - 12 Jun 2018

@richard67 Only with mod-menu. As you have a PR already open regarding this area, I decided to leave it out here.

avatar wilsonge wilsonge - change - 13 Jun 2018
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-06-13 11:55:20
Closed_By wilsonge
avatar wilsonge wilsonge - close - 13 Jun 2018
avatar wilsonge wilsonge - merge - 13 Jun 2018
avatar wilsonge
wilsonge - comment - 13 Jun 2018

Merged mod_menu first then this one - so should all be good! thanks guys :)

Add a Comment

Login with GitHub to post a comment