[TYPO3-english] file upload in FE

Leen Strijk leenstrijk at tomaatnet.nl
Tue Nov 22 14:56:52 CET 2011


Ye I know this. That was just my error when explaining the situation.
Offcource I am using photo instaed of image everywhere.

On 22-11-2011 14:20, Stephen Bungert wrote:
> The inputs name is [data][photo] not ['data']['image']!
>
>
> "Leen Strijk" <leenstrijk at tomaatnet.nl> schrieb im Newsbeitrag
> news:mailman.1.1321967779.30833.typo3-english at lists.typo3.org...
>> Hello,
>>
>> In my fe extension I want to upload a file.
>> But after submitting the piVars['data']['image'] gets lost somehow.
>> If I change the file upload into a normal text input it is showed again.
>>
>> source code in the browser:
>> <input type="file"
>> name="tx_myext_pi2[data][photo]"
>> id="tx_myext_pi2[data][photo]"
>> value="" />
>>
>> I think I am overlooking something small here but just can't find it.
>>
>> Anyone know what i am missing?
>>
>> regards Leen
>>
>



More information about the TYPO3-english mailing list