PHPMaker will allow you to define one default page from Tables setup in order to redirect end users to that page, when they access to the main address of your web application. This default page will also be displayed after end users are successfully logged in into your web application.
If you do not define this default page from PHPMaker application, then by default PHPMaker will display the first order of the table that listed on the Tables list of PHPMaker. If you don't want to display that first table either, then you have to select one of the table as you desired.
Sometimes, you don't want to display the page from the Tables list in PHPMaker. Sometimes you want to display the certain custom page you have just created and incorporate into your PHPMaker project. So, if you want to redirect to that page, then here is the simple code to make it comes true. In this example, let's say we want to display myhomepage.php, which is a custom page, as the default page. You only need to insert one line of code into one of the Server Event. So simple, yet so powerful! 🙂
Go to Server Events -> Other -> Default Page -> Page_Redirecting, and then simply insert the following code into the function:
$url = "myhomepage.php";