automatically fill field name in fe_users - typo3

Is there a possibility to automatically fill the field "name" in fe_users from the entries in "first_name" and "last_name"?
Is it possible to configure femanager to fill this field in the background when the user is editing the fields first_name and last_name. Background is, that i need this field with a value in the extension seminars.
Thanks!

Related

Graphcms what's Use as title field

I don't understand what's it for
Use as title field in graphcms model.
Could you explain to me a give me an example, please?
Thanks
"Displays this field's value instead of the ID in relations"
By default, it shows id in relation.
After setting a field as the title of a model
it shows the value of the "title" field in relation.

Change field required dynamically base on user select in Symfony 4 Form

i need my app require(true/false) a title(TextType) based on what select from 'event' field(ChoiceType) in a single form.
So, how can i modify my 'title' base on what user select on 'event' dynamically?
How to dynamically Generate Forms Based on user Data
https://symfony.com/doc/current/form/dynamic_form_modification.html#how-to-dynamically-generate-forms-based-on-user-data
Add the EventListener on your ChoiceType.

Geting user details using foreign key from res.users in Odoo

I have a model Employee and have included a foreign key to store the user object from the res.users table using the following code in my model:
user_id = fields.Many2one('res.users', string='user id', default=lambda self: self.env.user)
In my form, I am already capturing the user object.
Now, I want to display the user object's details (id, name, email) using the foreign key (that is the user object) in my form view.
The <field name="user_id"/> in my form view would display the user name of the stored object. I want to display different fields for id, email.
you can create a related field for user_id,
x = fields.Char(related='user_id.email')
like this you can access the all field values of related record.

How do I add an index for the updatedAt system field?

I know you can add an Index attribute to a field of an EntityData subclass, which creates an SQL Server index. I would like to know how to do the same for system fields like updatedAt.
I would like to know how to do the same for system fields like updatedAt.
I suggest you could set index for updatedAt field in portal directly. And from this article, you could see the updatedAt field is readonly. So you can not change it.

Symfony2.8 ChoiceType form filed with TextType form field

In Symfony 2.8 when I edit or create a user, I create the UserType form to render all fields.
The UserType form has an Roles field which I get all roles and render it like checkbox.
The question is our boss want to add an input field at every each roles on the right.
The red color I marked section is the needed input section
.
In this way our boss can edit the input text box so that he can see more clearly every role's meaning.
How can achieve this?
One solution is to move Roles to DB and store them as other entities. In such scenario you will need Role entity with at least two properties:
name
description