You can find the Guide here in the Guides section:
DIY Plugin Development
(There is just the Guide! Please post Questions / Problems / Discussions here in this thread!)
You can find the Guide here in the Guides section:
DIY Plugin Development
(There is just the Guide! Please post Questions / Problems / Discussions here in this thread!)
Stickied.
Greetings
David
Any feedback about the tutorial is appreciated. If you have any questions about plugin development feel free to ask them here.
we're going to complete them now. Below is the complete code for the rpc file. Check the comments for more information
It doesn't matter but I noticed the following in 'settings.js' above:
1) Missing semicolon on line 29
2) Unnecessary comma on line 31
Fixed it rocky. Thanks! If you notice anything else lets us know. These examples have not been error checked.
For consistency the file named firstpluginrpc.inc should be named firstplugin.inc
None of the other files in /usr/share/openmediavault/engined/rpc have a 'rpc' in their name.
It loads the default variables from that file. It is the equivalent of putting everything in that file in the file calling it.
Thanks.
Everything in this tutorial worked as expected.
In reality it is this way. The rpc and module names are usually the same for a given service, as you have probably already noticed. Usually the name of the service is used in smamll caps and then .inc at the end.
service name = example
/usr/share/openmediavault/engined/rpc/example.inc
/usr/share/openmediavault/engined/module/example.inc
Nice work on the plugin structure. The MVC implementation was surprisingly easy to learn and understand.
For some reason naming and capitalization conventions kicked my butt. I am stronger in system administration with almost no background in javascript or php. Maybe they are just new to me.
Hi
Nice development guides - thanks.
I came across a post somewhere that said there is a plugin developer forum. May I be added please?
Thanks
Mike
I will have you added.
I am working on a video conversion plugin. Can I be invited to the plugin development forum?
Yes, Volker has to add you so give it 24hrs. You will see new sections in the forum once you are added.
I did some commits on the openvpn plugin. May I also be invited to the plugin development forum? It could be helpful.
I will have you added.
I am working on a video conversion plugin. ...
I know that this is not the right place for asking questions, but are there any news about this plan? That sounds interesting.
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!