[TYPO3-mvc] How do I set up sys_language_uid in controller?
Dmitry Vasiliev
dmitry at typo3.ru.net
Sun Sep 8 17:10:17 CEST 2013
Hi all. When I creating a user in my controller, I also create him
portfolio like
public function createAction(\TYPO3\Gcmodels\Domain\Model\User $newUser
= NULL) {
....
$newPortfolio = new \TYPO3\Gcmodels\Domain\Model\Portfolio;
$newPortfolio->setSysLanguageUid(-1);
$newPortfolio->setTitle($newUser->getName() . ' - portfolio');
$newUser->addPortfolio($newPortfolio);
....
}
I need to SysLanguageUid in a portfolio is equal to = -1. Because I want
to portfolio will be available in all languages.
But sys_language_uid not installed = -1 How do I set up sys_language_uid
= -1?
-------------------------------------
Kind regards, Dmitry Vasiliev
More information about the TYPO3-project-typo3v4mvc
mailing list