Forums / Developer / Different starting points in admin interface? / Comment43136
kracker
Sunday 29 May 2005 11:57:28 am
Specifically,
You will want to look (as I have for you) at this directory: <i>kernel/user/</i>
And again at this file specifically: <i>kernel/user/login.php</i>
At this specific chunk of code (<b>search</b> for it):
$redirectionURI = $userRedirectURI; if ( $redirectionURI == '' ) $redirectionURI = $ini->variable( 'SiteSettings', 'DefaultPage' );
I have this idea that If you were to replace the ini variable reference with a call to your current user's class attribute by the same name you could achieve your short-term goal.
This is kernel hacking of course so it is not the most long term efficient way of implementing this change long-term.
Still it does give you a specific idea on what code you must <i>override</i> with your extension.
//kracker<i>korn : here to stay (remix)</i>
Member since: 2001.07.13 || http://ezpedia.se7enx.com/