[TYPO3-mvc] How do I set up sys_language_uid in controller?

Dmitry Vasiliev dmitry at typo3.ru.net
Mon Sep 9 09:55:25 CEST 2013


Thank you, Jakub
But, does not work. In file ext_tables.sql I wrote
sys_language_uid int (11) DEFAULT '-1' NOT NULL,

But if I created a portfolio in BackEnd, the value sys_language_uid = 0.
If I created a portfolio of FrontEnd, the value sys_language_uid = NULL.

On 08.09.2013 20:26, Jakub Zembala wrote:
> Hello Dmitry,
> if You want set sys_language_uid to "-1" for all new portfolio, maybe 
> good  solution for You will be set this value as default in SQL? Btw. 
> as i learned You should create new object like this :
> $newPortfolio = 
> $this->objectManager->create("TYPO3\\Gcmodels\\Domain\Model\\Portfolio");
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>



More information about the TYPO3-project-typo3v4mvc mailing list