Widget repository linking
I'm afraid I missed something here and need some help.I've added my widget repo with
util/add_widget_repo /home/abu/prj/hz/widgets abuThis does the following:
- Check out the repo into extend/widget/abu/
- Create a directory widget containing links to all files in the repo
MyWidget.php -> ../extend/widget/abu/MyWidget.php
CHANGELOG.md -> ../extend/widget/abu/CHANGELOG.md
LICENSE -> ../extend/widget/abu/LICENSE
Makefile -> ../extend/widget/abu/Makefile
README.md -> ../extend/widget/abu/README.md
VERSION -> ../extend/widget/abu/VERSIONAnd now? This widget is still not offered for installation by the PDL editor.
Is there any other config to tweak? What did I miss up to here?
And to continue: how to deal with repos containing multiple widgets?
Please note that the repository structure for your widget is as follows before you integrate it using
util/add_widget_repo:The widget must be located within your repository directory in a subdirectory that has the same name as your widget file itself. If you simply place it (as described in the old documentation) in the repo directory itself, the system will not be able to find it. Hubzilla looks for widgets in `
widgets/<WIDGETNAME>/`, and the util script will only create this structure if your repo is organised in the same way.Using MyWiget/MyWidget.php, the PDL editor doesn't see the widget for a potential install. Or is there any other way to install the widget?
But I'll retry from the start ASAP. Thanks.