No Code Attached Yet
avatar hennysmafter
hennysmafter
17 Sep 2021

Steps to reproduce the issue

Install latest Joomla 4.
Install any extension that uses these constants:

COM_MODULES_FIELD_MODULECLASS_SFX_DESC
COM_MODULES_FIELD_CACHING_DESC

Expected result

In Joomla 3 these constants where like this:

COM_MODULES_FIELD_MODULECLASS_SFX_DESC="A suffix to be applied to the CSS class of the module. This allows for individual module styling."
COM_MODULES_FIELD_CACHING_DESC="Use the global cache setting to cache the content of this module or disable caching for this module."

Actual result

Extensions that are using these constants do now show to the end user:

COM_MODULES_FIELD_MODULECLASS_SFX_DESC
COM_MODULES_FIELD_CACHING_DESC

Which is expected

System information (as much as possible)

J 4.0.3
PHP 7.4

Additional comments

Are these options now depreciated? We did look if we could find some info about this but to no avail.

avatar hennysmafter hennysmafter - open - 17 Sep 2021
avatar hennysmafter hennysmafter - change - 17 Sep 2021
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 17 Sep 2021
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 17 Sep 2021
avatar infograf768
infograf768 - comment - 17 Sep 2021

See discussion here:
#35580

avatar Bakual
Bakual - comment - 17 Sep 2021

Within core, we don't use those descriptions anymore as we thought there is no meaningful information in it. So it got removed with a lot of other descriptions.
Of course you still can add a description yourself in your extension, but you need to provide your own language string for it then.

avatar Bakual
Bakual - comment - 17 Sep 2021

Ah and also keep in mind that the moduleclass_sfx param no longer is a suffix. We just kept the name for B/C reasons, but it's a simple module class now, no suffix anymore. So the old description doesn't fit anymore anyway.

avatar brianteeman
brianteeman - comment - 15 Feb 2022

This should be closed as the question has been answered.

avatar Quy Quy - change - 15 Feb 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-02-15 10:14:37
Closed_By Quy
avatar Quy Quy - close - 15 Feb 2022

Add a Comment

Login with GitHub to post a comment