Labels |
Added:
?
|
Correctly it would belong to each component options. For example on in the articles component it would belong to the "Article" settings. It will become interesting when we start to implement custom fields for categories. Then you basically need two settings one of categories and one for articles. At the moment I don't have a valid clue where to put it correctly and how to implement it. What I know is that the setting in the system plugin is on the wrong place.
It gets a bit tedious if you have to add it to each component.
I agree that putting it in the plugin is the wrong place. No regular user would ever stumble on that. I think even though it's more work, it really should be added to every component that can use fields. Let's not half ass this thing, the end users won't react well to it, trust me.
For me I would put it also on every component. If a component doesn't implement it, then we still can inherit it from the plugin.
If it's only that single parameter, then I agree. But I foresee there will be more in future.
The problem is, if we leave it as is, ALL components get the same global, so you can't set one component to always put the fields under the title and another to put them after the article. It also sets up a bad experience for users. It's like "Hey, ALL the other global settings are in the component, but we put these in the plugin where you'll never find them"
Sure, but what happens if we add another parameter? Global functionality would be broken until all extensions update their options. Which is certainly not a good experience either. And then most likely not all extensions add it at the same position. It will become a big mess. Architecturally it's wrong as well as they are com_fields (or more precise fields plugin) options. The extension doesn't do anything with it.
It makes wondering why in one part of Joomla are "Options (Global)", on other not. Users cant know why (Devs. know). I understand, that its not possible now, but it should be a goal.
Showing the global value from the plugin options (eg "Use Global (Show)") is possible. It just needs an own formfield for the parameter but that is easy to do.
We could also add a hint as to where to find the global setting (eg add it in the tooltip of the parameter).
What yuo guys think?
better remove than show Options they look different to other Joomla-Parts.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-01-27 19:18:34 |
Closed_By | ⇒ | Bakual |
Yeah that works as well. Closing as we have a PR
Hehe, people already expect that little feature to work everywhere?
It doesn't work here because the global value is set in the "System - Fields" plugin. So the standard lookup in the component options (com.fields in this case) doesn't work.
There are two possible solutions: