akeeba/fof — pull request #49 by Twentronix (2013-05-26 15:04:42+00:00)
Title: New FOFForm field for components selection

Hi Nicholas,

You're gonna like this :)

I've created a FOFForm select list for components. The names are translated. It's as good as finished:

1. The option client_ids in the form.xml selects which client ids you want to display. It's a comma seperated list (e.g. "0" or "0,1").
2. I've marked one TODO, we could implement an option for "Don't list components where the user doesn't have access for". Or perhaps better do it by default.
3. I would like to change the client_ids on the fly. I've created a public $client_ids which can override it. I can't test it yet though and perhaps it needs to be static or it need to be modified.
4. Do you prefer components.php (like plugins.php which I did) or component.php? I can change it if you want to.

Cheers,
Jurian