In my plugin, I can't set the General Storage Folder. I changed it in the plugin settings itself and in the page settings. Still, creating elements in the Frontend with the plugin stores them inside the page:id=0.
Does anyone have a quick solution?
In my plugin, I can't set the General Storage Folder. I changed it in the plugin settings itself and in the page settings. Still, creating elements in the Frontend with the plugin stores them inside the page:id=0.
Does anyone have a quick solution?
The storagePid
can be configured in multiple places.
One is inside the plugin record in field "Record Storage Page". You can also define recursion.
Another place is TypoScript with option persistence.storagePid
that is documented at https://docs.typo3.org/typo3cms/ExtbaseFluidBook/b-ExtbaseReference/Index.html#persistence
There, you can also configure the newRecordStoragePid
:
Page-ID in which new records of the given class should be saved.
And there is Flexform, if you provide it and provide a way to set the TypoScript setting, but that invokes some steps on your side and as you didn't do anything that will not be the case.