[TYPO3-mvc] Extending fe_users

Manuel Simon typo3 at it11.info
Wed Jan 13 16:53:25 CET 2010


Hello Jochen,

thank you for your fast response.

> Seems ok to me. I assume that you have prefixed your column name
> ("tx_..._..Nr" is something like "tx_myext_telephoneNr"). I suggest to
> use "tx_myext_telephone_nr" instead to be consistent (lowerCameCase in
> the Model, lower_underscore in the database).

It seems like I messed it up a bit and have to change it. Thank you for
your clarification.

> There is something missing. You have to map your database table onto
> your domain model.
> 
> config.tx_extbase {
>     persistence{
>         classes {
>             Tx_Extbase_Domain_Model_FrontendUser {
>                 mapping {
>                     columns {
> tx_myext_telephoneNr.mapOnProperty = telephoneNr
>                     }
>                 }
>             }
>         }
>     }
> }
> 
> Maybe solves the problem.

Adding this TypoScript configuration to ext_typoscript_setup.txt solves
my problem.

Manuel


More information about the TYPO3-project-typo3v4mvc mailing list