This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Cannot import widget.tar.gz
#2
Each widget must gave its own ID
Code:
$(function(){
    Widget['gamma_air'] = Widget.extend({
        config: {
            title: 'Air conditioner1',
The gamma_air is here the ID, it must be changed, there is second place below where you should change it too.  The ID must be used while adding widget as Key
When you will be zipping the widget, zip them without any folder.

Attached example working widget to import. The KEY is  alarm_fire_alert3

Attached Files
.gz   alarm_fire_alert2.tar.gz (Size: 1.17 KB / Downloads: 29)
------------------------------
Ctrl+F5
Reply


Messages In This Thread
Cannot import widget.tar.gz - by buuuudzik - 17.09.2020, 19:50
RE: Cannot import widget.tar.gz - by Daniel - 18.09.2020, 08:00
RE: Cannot import widget.tar.gz - by Daniel - 21.09.2020, 07:39
RE: Cannot import widget.tar.gz - by Daniel - 21.09.2020, 09:01

Forum Jump: