It is a parameter passed to the weblogin snippet. [!weblogin? &liHomeId=`xx`!] where `xx` is the document id of the page you want your users redirected to on login.
OK, I give up! I have looked through all the field in the ModX tables and cannot find where a users login home page is stored. Can anyone enlighten me?
Thanks
It is not stored in the database. It is a parameter passed to the weblogin snippet.
but where is it actually stored in the database?
First of all, the login home page is not in the database!!!
I want to run a query through all records in the modx_web_user_attributes table and if a certain phrase is in the comment field, I want to grab the login home page of those records. How would I do that?
Quote from: lee at Aug 31, 2007, 06:39 PMFirst of all, the login home page is not in the database!!!
I want to run a query through all records in the modx_web_user_attributes table and if a certain phrase is in the comment field, I want to grab the login home page of those records. How would I do that?
I will say it one more time... The login home page is not in the database. you can not retrieve it, you cannot query for it. At least not with the weblogin snippet.

Ok, gotcha.
You hide your frustration at me so well
Never did I say I wanted to use the weblogin snippet to retrieve the login home page. I will say it one more time ... Never did I say I wanted to use the weblogin snippet to acccess the login home page. I’m merely asking ... if ModX stores that value and retrieves it at a later time, that value is indeed stored somewhere. I just want to know where.

$webuser = $modx->getLoginUserID();
$findLoginHome = $modx->db->query("SELECT `setting_value` FROM ".$modx->getFullTableName(’web_user_settings’)." WHERE `setting_name` = ’login_home’ AND `webuser` = ’".$webuser."’");
$loginHome = $modx->db->getRow($findLoginHome);
$url = $modx->makeURL($loginHome);
$modx->sendRedirect($url,0,’REDIRECT_REFRESH’);