Page 1 of 1

Behavior of the RUN button

Posted: Sat Mar 02, 2024 7:11 pm
by Gnu
How can I use a Run button so that the (valid) HTML page generated by the selected PHP-procedure is displayed directly in a new tab, but without the nuBuilder header?

Now I get a 'unexpected Error'.

When I select "iframe" as the target, it works, but I need the page to open seperatly in a new tab, so I want to use a button.

Re: Behavior of the RUN button

Posted: Sun Mar 03, 2024 9:47 am
by kev1n
Hi,

If I'm not mistaken, it is not currently supported by the run object to display the code in a new browser window, but you can use a normal button and then call

Code: Select all

nuRunPHP('your_procedure_name');
when the button is clicked.

Re: Behavior of the RUN button

Posted: Sun Mar 03, 2024 7:17 pm
by Gnu
Thank you very much, it works perfectly. Sometimes one does not see the simple solution.