This topic is locked

Two Menus, Two Landing page per user type

9/1/2022 11:19:52 AM
PHPRunner General questions
N
Nicolas Yacumo author

Good morning all.
I have an app already working with a menu and a landing page. Now we have a 3rd kind of user wich needs another landing page an another menu, a reduced one. Im using 10.8- 39754. I created the reduced menu on menu editor, as a secondary one, then i created in designer in common pages a copy of menu, made the changes i needes (reduced items) and named menu2. I created a view page of another page and gave this 3rd kind user acces only to that one, and in commons to menu2, also pointed in designer in this page for the 3rd kind user menu to menu2. When 3rd kind user logs gets menu2, but not the commons menu2 page, as in landing page default landing page is set to menu (the original one). How can i get this other menu and landing page for this reduced user kind. Thanks in advanced
PS: im aware of the possibility of using
if ($_SESSION["UserID"]=="admin")

header("Location: onepage.php");

else

header("Location: anotherpage.php");

to redirect users i only want to know if is this the only way.
Nicolas

N
Nicolas Yacumo author 9/1/2022

Just to clarify in security i adjusted in global acces to each type too

img alt

So each profile will have its own welcome page, but for the third (the new kind wich uses menu2 (menuext), welcome page2 etc) THE WELCOME page selected doesn´t show up it shows me directly the list page.