Review https://github.com/joomla/joomla-cms/blob/3.6.3/libraries/joomla/form/fields/list.php#L106-L120
This should be a flexible option, like every other
This option is hardcoded and only allows explicitly configured associations
Looks fine to me.
We need to preserve B/C tough
Since the value's converted to an array, first thing I can think of is do this:
foreach ($requires as $require) {
switch ($require) {
case 'multilanguage':
// Do existing stuff
break;
case 'associations':
// Do existing stuff
break;
default:
// Do new stuff
break;
}
}
just waht i was doing right now ;)
Closing as we have a PR
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-10-22 20:05:23 |
Closed_By | ⇒ | zero-24 |
Labels |
Added:
?
|
you about using something like
And them in that line check if the component/plugin, etc is installed, enabled and user has acess level view right to it? If yes shown the option, if not don't show it.
if ok i can work on that
We need to preserve B/C tough