Revision #83 was created by rackycz on Apr 1, 2021, 10:29:50 PM.
Custom Widgets
Content
[...]
- It means you forgot to copy some PHP code from the old layout file to the new one.
Now you are done, you can start using HTML and JS stuff from AdminLTE. So lets check extensions which will do it for us
**- Insolita extension**
----
Works good for many UI items: Boxes, Tile, Callout, Alerts and Chatbox.
[...]
```
And this is basically it. Now we know how to use AdminLTE and fix the GridView. At least one extension will be needed to render widgets, see above.
**Creating custom Widget**
--
See official reading about [Widgets](https://www.yiiframework.com/doc/guide/2.0/en/structure-widgets) or this [explanation](https://www.codevoila.com/post/33/yii2-example-create-yii2-custom-widget-advanced-part). I am presenting [this example](http://www.bsourcecode.com/yiiframework2/how-to-create-custom-widget-in-yii2-0-framework/), but I added 3 rows.