i build a simple commentary extbase extension, which i want to include with typoscript in a project extension (also extbase). The fluid code in the project extension looks like this:
<f:for each="{project.reports}" as="report">
...Content...
{report -> f:cObject(typoscriptObjectPath: 'lib.comments')}
</f:for>
"Reports" is an array of id's. The lib.comments typoscript looks like this:
lib.comments = USER
lib.comments {
userFunc = tx_extbase_core_bootstrap->run
extensionName = Comments
pluginName = Comments
persistence.storagePid = ?
}
The StoragePid should match with the report id, so i tried: persistence.storagePid.cObject = TEXT persistence.storagePid.cObject.current = 1
But it doens't work. Has anyone an idea, which is the right way to set "current" to the storagePid?