widget_management
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
widget_management [2023/01/29 17:44] – [Defauling Widgets to User Dashboard] wtkadmin | widget_management [2023/08/07 21:13] (current) – [Defaulting Widgets to User Dashboard] wtkadmin | ||
---|---|---|---|
Line 63: | Line 63: | ||
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.txt · Last modified: 2023/08/07 21:13 by wtkadmin