Page 1 of 1

Show modal page after user is logged in (v2021)

Posted: Thu May 23, 2024 12:46 am
by onoboa

Hi,

I have a contact page witch I want to show after the user logged in, in the table properties I check in the Add Page section like Modal dialog but when I run my page this not appears like a modal page.

This is my code in Login Page -> User LoggedIn

function User_LoggedIn($usr)
{
  if ($usr == "demo"){
      $this->terminate("contactoadd");
  }
}

please another way to show the page in modal?

Thanks,

Omar
PhpMaker 2021


Re: Show modal page after user is logged in

Posted: Thu May 23, 2024 7:17 am
by DGarza

The property of the modal in Add Page, is not so that when you refresh the page it appears as if it were a modal all the page, it is so that when you click the add button, it appears as a modal all the form or the page itself.