Post by Alex » Mon Mar 13, 2023 4:46 pm
AE1 wrote:@alex That's a great new feature, I didn't notice it until now...
I've gone through the documentation PDF and example code, is currently no option there to add a settings fields for the plugin itself? Or am I missing something.
For example, I want to create a plugin that will download from websites which require credentials. How can I enable users to enter them for a plugin to use?
For now, the plugins architecture is very simple and limited. We have no motivation to enhance it yet. So, unfortunately, it's not possible for a plugin to have its own settings. But, in your case, I believe there is still a way to do it without FDM support. For example, you can show your settings UI when your add-on's code is invoked and needs password.
[quote="AE1"]@alex That's a great new feature, I didn't notice it until now...
I've gone through the documentation PDF and example code, is currently no option there to add a settings fields for the plugin itself? Or am I missing something.
For example, I want to create a plugin that will download from websites which require credentials. How can I enable users to enter them for a plugin to use?[/quote]
For now, the plugins architecture is very simple and limited. We have no motivation to enhance it yet. So, unfortunately, it's not possible for a plugin to have its own settings. But, in your case, I believe there is still a way to do it without FDM support. For example, you can show your settings UI when your add-on's code is invoked and needs password.