In this post over
here it was discussed that the Personlize snippet grabs the user ID with this line.
$test = $modx->getLoginUserName();
I was thinking it would be really nice to create an extra switch that could tell the snippet to display the user name, full name, address, phone, picture, birthdate, or whatever else might be available in the database.
This is going to have to be a suggestion because I have know idea how to create the logic loops for PHP or even where to insert it into the snippet. I think it would be necessary to check the field and if it’s empty then revert back to the default user name.
Anyone interested in taking a crack at this?