widget_management
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| widget_management [2023/01/29 17:44] – [Defauling Widgets to User Dashboard] wtkadmin | widget_management [2025/03/30 17:44] (current) – [Use Widgets to Update Data and Refresh Widget] wtkadmin | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| First create Widgets and then assign them to Widget Groups. | First create Widgets and then assign them to Widget Groups. | ||
| + | |||
| + | {{youtube> | ||
| ===== Widget Creation ===== | ===== Widget Creation ===== | ||
| Line 63: | Line 65: | ||
| The " | The " | ||
| + | |||
| + | ===== Use Widgets to Update Data and Refresh Widget ===== | ||
| + | |||
| + | In the WTK Admin website if you have the Widget "Link to Page" and make that page "Use Modal Window", | ||
| + | |||
| + | The **/ | ||
| + | |||
| + | In your PHP page have the update buttons defined as follows: | ||
| + | |||
| + | <code PHP> | ||
| + | $pgBtns = wtkModalUpdateBtns(' | ||
| + | </ | ||
| + | |||
| + | Make certain your PHP has the form defined as: | ||
| + | |||
| + | <code PHP> | ||
| + | <form id=" | ||
| + | </ | ||
| + | |||
| + | Also in your PHP add this code to put the `wtkWidgets`.`UID` into a hidden field. | ||
| + | |||
| + | <code PHP> | ||
| + | $pgHtm .= wtkFormHidden(' | ||
| + | </ | ||
| + | |||
| + | |||
| + | The " | ||
widget_management.1675014294.txt.gz · Last modified: 2023/01/29 17:44 by wtkadmin
