Closed Joe1am closed 7 years ago
Did you use the Plugin Userfield in Listview Mode to extended the Fields?
As I said, I extended the fields with my custom extension "Feusersextrafields" I found the solution: The mapping in my ext_typoscript_setup.txt was wrong
This is the working ext_typoscript_setup.txt
config.tx_extbase{
persistence{
classes{
Mittwald\Typo3Forum\Domain\Model\User\FrontendUser {
subclasses {
Tx_FeUsersExtraFields_ExtraFields = Feusersextrafields\FeUsersExtraFields\Domain\Model\ExtraFields
}
}
Feusersextrafields\FeUsersExtraFields\Domain\Model\ExtraFields {
mapping {
tableName = fe_users
recordType = Mittwald\Typo3Forum\Domain\Model\User\FrontendUser
}
}
}
}
}
Hello!
I'm trying to extend the userfield list on the profile page with some extra fe_users attributes.
In setup.txt there are already a view fields set up like this:
and i can add a normal fe_user attribute like this
so far, it's easy :)
But I created another little extension which extends my fe_users with some custom fields..
The ext_typoscript_setup.txt looks like this
and my class in Classes/Domain/Model is
So, how can I get the custom fields on the profile page? When trying to add a field
I get an error which says that Feusersextrafields\FeUsersExtraFields\Domain\Model\ExtraFields is not a subclass of \Mittwald\Typo3Forum\Domain\Model\User\Userfield\AbstractUserfield
I also tried to extend the AbstractUserfield class like so..
but unfortunately without any success :(
Can anyone help me with that?