The following warnings occurred: | ||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
Config homepage? - Printable Version +- UserSpice (https://userspice.com/forums) +-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23) +--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26) +--- Thread: Config homepage? (/showthread.php?tid=915) |
Config homepage? - oscar - 01-17-2018 HI, I'm trying to change the page-after-login. I'm working on 4.2.11 (*) I've read in users/login.php about a "Config::get('homepage')" but I didn't find where to set it. Alternativley, I've tryed to modify the custom_login_script.php, to add an admin-related logic: dashboard for admin and my application home for standard users, with no success. (*) I'm trying to get a stable-beta-version of my own project. After that, I'll try to port my "Validity Time" addon on latest github version. But I'm also new with git, and so it will be a long, slow process... Thanks!! Config homepage? - Brandin - 01-17-2018 Changing custom_login_script should work... The logic is: -Redirect to destination if defined (trying to access a secured page but not logged in) -Do anything in custom_login_script -If still on login.php, redirect to account.php. |