Hi,
I have few products with upload attributes and everything works fine from product pages. Now I'm trying to make it work with upload applet, but http post field for file is hardcoded to the applet and cannot be changed.
All the others are passed ok to zen and products gets added,
but of course with file upload error.
My Zen configuration accepts
<input type="file" name="id[SourceFile_1]"/>
but applet sends
<input type="file" name="SourceFile_1"/>
First I just duplicated the actionAddProduct function to actionUploadFiles
and edited that to include a new upload2.php ( copy of upload.php )
so tweaking the code doesn't affect normal operation.
So, I need to find a way to tell to Zen that in this case there is no id[ ... ]
around the name of temp $_FILES....
I know, it's probably at the function parse($key = '') in top part of upload.php but my coding skills sucks :)
Can somebody help?
Thanks in advanced..
-Event H.



