-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get Contact person from assigned fe_user #80
Comments
Hi. Can you explain what you're trying to solve? |
Yes, I achieved it currently via a extended FrontUser Model whre I add a custom field with the foreign table
I thought this would be already included in the extension. |
I ran into an another problem. |
So thats how I make this currently happen $queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)->getQueryBuilderForTable('tx_contacts_domain_model_contact');
$queryBuilder
->update('tx_contacts_domain_model_contact')
->where(
$queryBuilder->expr()->eq('uid', $queryBuilder->createNamedParameter($newContact->getUid()))
)
->set('fe_user', $user->getUid())
->execute(); |
Hi,
When I create a
Person
I can assign it to afe_user
. But how do I get thePerson
from thefe_user
? I hoped to find an additional option in thefe_user
wehre I can assign aPerson
so when I get the currently logged infe_user
I can also access thePerson
data.The text was updated successfully, but these errors were encountered: