[TYPO3-english] 7.x creating FAL relation from frontend

Jan Bednarik info at bednarik.org
Wed Oct 14 21:57:04 CEST 2015


Solved, there was missing configuration in TCA:

'foreign_match_fields' => array(
                         'tablenames' => 'tx_table',
                         'table_local' => 'sys_file',
                     ),

Jan

Dne 14. 10. 2015 v 20:50 Jan Bednarik napsal(a):
> Hi all,
>
> following my last thread, I have a FE form where I need users to upload
> photos. In order to create FAL relation I have followed this
> https://github.com/helhum/upload_example
>
> However, the problem is that records created in sys_file_reference lack
> values in "tablenames" and "table_local" columns.
>
> Any idea? Or is there an easier way in 7.x? This way is almost working,
> but seems quite overcomplicated.
>
> Jan



More information about the TYPO3-english mailing list