This topic is locked
[SOLVED]

 launch an add page (custom view) via a popup from a menu item link

11/3/2019 1:29:34 AM
PHPRunner General questions
woodey2002 author

Hi Guys,
Any ideas how to launch an add page (which is a custom view) via a popup from a menu item link.
This view does not have a list page, just an add!
I have attempted multiple version of some of the examples from this cool blog post with mixed results.
If I add this code to my view page's Javascript Onload event
Runner.displayPopup( {

url: "products_add.php"

});
It opens 3 popups for the same page.
Any ideas would be much appreciated.
Thanks,

J

Sergey Kornilov admin 11/4/2019

We do not have an option to open menu item in the popup.
If you need to open a page in the popup you need to do that adding a button to one of pages.

woodey2002 author 11/4/2019

Thanks for the tip.
Cheers,

James