This topic is locked

how can i open popup without left and main menu?

8/14/2022 12:31:37 PM
PHPRunner General questions
A
alimoshtaghi@gmail.com author

hi
i want to open 'edit page' popup when editing some field in sheet mode (when receiver_id is 48383 edit page should be open in popup mode ) so
i used field events handler:
i used this code on client after:

var popup = Runner.displayPopup( {
url: "payments_in_edit.php?editid1=7&mastertable=action_invoice&masterkey1=12",
Width:2500,
Height:2000,
header: 'Add new product'
});

if(result["receiver_id"]==48383)
{popup.show();}

it works but popup dialoge contain main and left menu.
how can i open simple popup without left and main menu???
mbintex 8/14/2022

Create a copy of the page you want to show without any menus and change the url to show this page with

?page=pagewithoutmenu

This should do the trick