-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[4.1] Missing descriptions for options in settings #37772
Comments
While I was looking for a problem, 4.1.3 came out. The problem is the same there. |
Can the descriptions be enabled by using the Toggle Inline Help button? |
No. Because such a button is only in the general settings and somewhere else (I don’t remember the component). |
Confirmed!
com_content, articles |
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37772. |
Yep. Another first merge then think ;-) |
@cyrezdev, could you help us?
In any case, this should be fixed by one of us as soon as possible, as this is a "button car with no icons/tooltips" for both new Joomla users and non-advanced administrators. |
Hello, EDIT: in 4.1.2, no such issue, and my PR was already merged in it! |
@sandewt Throughout the admin panel, except for the articles component and general settings (there is a button for switching hints). But this is complete nonsense compared to the fact that in some localization string there is no dot at the end of the sentence. |
@Kostelano I'm missing this button at the plugins or am i seeing it wrong ? |
@sandewt Yes, it is not in plugins and in all other components, except for the general settings and the materials component (added in https://github.com/joomla/joomla-cms/pull/37158/files#diff-250b59d27f418e931b052803c0a6089439df3f1ada6db18096ec9f9e5edb095c). We need to either cancel this change, or make changes to all components in the same way as PR #37158. |
Cancel. |
The situation as it is now [J4.1.3] is unacceptable, because as with the plugins, the help texts disappear. |
It is currently impossible to enable the descriptions for plugins and modules in Joomla! 4.1.3 without workarounds. This should be fixed asap! The inline help toggle button should be automatically displayed in the Modules (com_modules) and Plugins Manager (com_plugins). In the meantime, 3rd Party developers can enable the descriptions by using a custom field type with a CSS instruction: https://docs.joomla.org/Creating_a_custom_form_field_type/en Create the custom field type file (see documentation) and add the following code to the file:
But I agree with @cyrezdev, this is a backward compatibility break. Every extension must be rewritten to add the inline help toggle button. This is not acceptable for a bugfix release! |
@Kubik-Rubik do you know how to get the inlinehelp xml element value from the renderField layout ? |
If it is defined in the XML file like:
Then you can retrieve it in your custom field like:
But this will not help us here; the inline toggle button must be added to the toolbar outside the parameters form. |
I don't mean to add it in layout, but to get its value ;-) And from the Joomla Layout rendefield (core field). My wondering is how to properly get inlinehelp element if set in layouts/joomla/form/renderfield.php I see form xml is in $displayData['field'] but i don't know how to get its elements values... in a clean way. |
@cyrezdev Yes, it would be possible. This is just a quick example of how to check for the Inline Help Toggle Button in the
But this is not the proper approach since the file is loaded multiple times during one request. It would be better to set it as an option in |
Even better would be to fix the actual bugs that I created |
@Kubik-Rubik This is exactly what i thought, and why i was wondering if a "clean" way to get the option... |
I've created a PR #37819 to fix display of description. @brianteeman @Kubik-Rubik @richard67 @Kostelano @ReLater @ChristineWk |
Closing as having a pull request. Please test #37819 . Thanks in advance. |
Steps to reproduce the issue
Install Joomla RC1, note that in all components (for example, in the media manager) the descriptions for the parameters in the component settings have disappeared.
The problem is with this change. Remove the change on this line and the descriptions will revert to parameters.
As far as I can tell, this breaks the PR #37699, so I'm not sure how to properly fix this to keep PR #37699 working.
The text was updated successfully, but these errors were encountered: