-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing space in Mod custom #9883
Conversation
not sure why its saying 3 commits but this is correct. |
This is the expected (even if anti-UX) behavior. Leave no space and you On Tuesday, April 12, 2016, Bear notifications@github.com wrote:
|
@N6REJ and it is consistent with the parameter name "...sfx" and description |
Closing for the reasons stated above |
the problem is that its inconsistent with the rest of class suffix's. before it was like this for ALL suffix's ( components ) and modules, or am I mistaken? |
You can do a recursive text search in the modules folder
you will see that all
do not add space and if you want to add a new class to it, just use the parameter like this: thus this: will become: |
It's 2017 and just found this Pull Request (which I see is closed), so am I missing something or has the missing space been put back in as missing? Joomla 3.7.4 has most if not all modules "still" missing the space. Example of what is still showing
There's no space after "custom" or in other modules. Right now, adding a class suffix to any module results in:
instead of:
|
As stated above, it's an explicit design decision. With no space, you can suffix the class that comes before it in a layout (in this case, the |
Pull Request for Issue # .
Summary of Changes
added the missing space between 'custom' and 'suffix'
Testing Instructions
create a custom module, look at the module class and you'll see "custom"
add a class suffix and you'll see "customYOURSUFFIX" this is not as expected, nor consistent with the rest of the module class suffix behaviors.
after this patch you'll see that it is now "custom YOURSUFFIX"