-
-
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
com_config does not facilitate help system usage for component authors #13059
Comments
This comment was marked as abuse.
This comment was marked as abuse.
As far as I know it is possible for 3rd parties to provide such a help URL (using language strings if I remember right). But it is not that straight forward. I think @chrisdavenport knows more about that system. |
See also #6627 and referenced items. |
In particular, see https://docs.joomla.org/Help_system/Adding_a_help_button_to_the_toolbar If that mechanism has stopped working, then it's a bug. Otherwise, it's not. |
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
As I said, if that mechanism isn't working, then it's a bug. |
Chris, that process works fine everywhere BUT com_config for a component's config, for non core extensions. That's what the old issue and PR tried to address and it's still not fixed. |
I have some holiday time coming up so I'll take a look at it then. Unless someone can get to it faster than me. |
I think using a helpUrl element in the xml is the way to go. However, if there is no helpUrl element and the translation string is present, a link to local help file(s) should be provided. If there is no translation string at all ... no help button. I may have some time to see if I can come up with an acceptable implementation. |
Excuse any less-than squeaky clean logic or coding, but this is what seems to work okay for my needs: In config.xml Adjust addToolBar in com_config/view/component/html.php
|
I guess it just has to check for a component specific string in com_config. That's likely the only issue. |
#13286 is the PR for this item. |
Steps to reproduce the issue
Select a non-core component that has configuration provided by config.xml
Choose 'Options' from the toolbar.
Choose 'Help' from the toolbar.
Expected result
Component is able to provide help via a link provided by a combination of parameters in config.xml and language file(s)
Actual result
RuntimeException
Error fetching page from MediaWiki API: The page you specified doesn't exist
System information (as much as possible)
Joomla! 3.6.4 Stable [ Noether ] 21-October-2016 16:33 GMT
The text was updated successfully, but these errors were encountered: