[TYPO3-english] Attaching indexed files to a collection through hook
Søren Malling
soren.malling at gmail.com
Thu Jul 11 15:48:25 CEST 2013
Hi,
I'm building a hook with the following use case:
Editor creates a new sys_file_collection (static collection). I've added a
field of type "group" to allow user to upload a file directly.
When the user selects a file and hit "Save" the file is uploaded and added
to the collection.
Here goes the issue:
When the editor hit the submit button, the file is nicely uploaded and I
managed to get it indexed but the file(s) are not added to the collection.
Find a gist of the hook here [1]
Running TYPO3 6.1
Cheers
Søren
[1] https://gist.github.com/sorenmalling/5975542
More information about the TYPO3-english
mailing list