nextcloud / dashboard

ARCHIVED, new Dashboard is in the server
https://nextcloud.com/dashboard
GNU Affero General Public License v3.0
58 stars 29 forks source link

WidgetTemplate ->setSettings Syntax #55

Closed MarkPartlett closed 5 years ago

MarkPartlett commented 5 years ago

I am trying to configure the widget 'settings' within the widget xml in lib\Widgets directory. I am trying to understand the syntax for the 'settings' array. I can see I need to define 'name' , 'title' . 'type' . 'default' and placeholder. Could you please give an example?

I been successful in getting the 'Configure this widget' within the widget menu but I can see the settings are not being saved to the database.

MarkPartlett commented 5 years ago

please help @daita