P
|
PK author 4/8/2025 |
Update...I have also set this: window.dashPage = pageObj; on the JSOnload of the underlying report on the dashboard but it also doesnt work. |
C
|
copper21 4/8/2025 |
You are going to need to give more information. I got your button to work when I placed on the dashboard. It sounds like you have a button on one of the elements in the dashboard? Post a screenshot and the button's full code. |
P
|
PK author 4/9/2025 |
Thanks copper21, The buttons are not in an element, they are at the top of the page (where you usually have "breadcrumb")
From top left,
Thanks |
C
|
copper21 4/9/2025 |
Percy, Take a look at the manual here: https://xlinesoft.com/phprunner/docs/how_to_display_any_page_in_a_popup.htm The bottom section will help. I have often gotten issues like this and this part of the manual really helps. Anyway, here is what you need to do...this worked for me: No JS needed in the dashboard onload event Code for "Show for selected shop"' client after to open up the popup: window.popup = Runner.displayPopup({ No need for the function for purposes of this action...use if you still need it for something else. Code for "OK" client after to close popup and refresh page: window.parent.location.reload(); I hope this helps. |
P
|
PK author 4/10/2025 |
copper21, This solved my problem, and clears up my understanding of the relationship with the parent page. Thank you so much!! |