[TYPO3-mvc] Create FileReference Object for Model
Anja Leichsenring
aleichsenring at ab-softlab.de
Tue May 27 15:25:22 CEST 2014
Hi Dennis,
maybe this helps you:
http://typo3.helmut-hummel.de/post/85015526410/file-upload-using-extbase-and-fal-in-typo3-6-2
Helmut creates FileReference Records upon upload, this should be
basically the same task as yours.
Please share your solution, when you meet the goal.
Happy coding
Anja
On 27.05.2014 15:18, Dennis Dittrich wrote:
> Hello guys,
>
> i still develop a csv import for one of my extension. To write in
> database with repositories works fine, but i have one problem.
>
> I looking for import some images (FAL) and i don't find the right way to
> get this thing done.
>
> The database model needs a FileReference object, so I look into the
> documentation, but find not a method to say the object where to find the
> right image.
>
> typo3.org/api/typo3cms/class_t_y_p_o3_1_1_c_m_s_1_1_extbase_1_1_domain_1_1_model_1_1_file_reference.html
>
>
> In the related classes i don't find any possibilties, too.
> In this moment i use repositories in controller. The setter need a
> FileReference Object. I have some Images in fileadmin that i would like
> to link in FAL via csv import.
>
>
More information about the TYPO3-project-typo3v4mvc
mailing list