[TYPO3-mvc] persist new records to fe_users

Dmitri Pisarev dimaip at gmail.com
Wed Jun 9 11:45:57 CEST 2010


On 09.06.2010 13:36, Thomas Mammitzsch wrote:
> Hi list,
Hi Thomas!
>
> i try to add new frontend users to the fe_users table. So i have a model
> class extending Tx_Extbase_Domain_Model_FrontendUser and a repository
> class extending Tx_Extbase_Domain_Repository_FrontendUserRepository.
> If i add my new user to the user repository by my controller, i get an
> exception "Table 'typo.tx_myext_domain_model_frontenduser' doesn't
> exist". Thats right, that table doesn't exist and i dont want it to.
> How can i save the user object to fe_users table? Override something in
> the repository or do some mapping stuff via ts?
Exactly, you need to configure extbase through TS.
Here is an example of how I do it for tt_new:
http://forge.typo3.org/projects/extension-library/repository/entry/trunk/Configuration/TypoScript/setup.txt

Also look up the blog_example for something similar.
> regards, Thomas
Cheers,
Dmitri.


More information about the TYPO3-project-typo3v4mvc mailing list