[TYPO3-mvc] Backend Module and PID ?

Xavier Perseguers typo3 at perseguers.ch
Fri Aug 13 09:32:07 CEST 2010


Hi Sascha,

> first time building a backend module. An action gets called
> and creates a new 'recipe' object (it's a recipe database).
>
> Problem:
>
> When using the recipe repository
> ($this->recipeRepository->add($recipe);) the new object get saved with
> PID '0', and not like i configured it.
> (plugin.tx_recipes.persistence.storagePid = 4)
>
> Anyone knows how to handel that problem ?

Where did you put your TS? Because perhaps you did not notice that 
TypoScript in templates is for frontend output...

Xavier


More information about the TYPO3-project-typo3v4mvc mailing list