Ok this is the code so you see for yourself what i mean.
// WA_UploadResult1 Params Start
$WA_UploadResult1_Params = array();
// WA_UploadResult1_1 Start
$WA_UploadResult1_Params["WA_UploadResult1_1"] = array(
'UploadFolder' => "../assets/images/logos/",
'FileName' => "[FileName]",
'DefaultFileName' => "",
'ResizeType' => "1",
'ResizeWidth' => "150",
'ResizeHeight' => "100",
'ResizeFillColor' => "#FFFFFF" );
// WA_UploadResult1_1 End
// WA_UploadResult1 Params End
WA_DFP_UploadFiles("WA_UploadResult1", "image_cmp", "2", "[NewFileName]_[Increment]", "JPG:80", $WA_UploadResult1_Params);
I used a default file/image. Do you see any parameter for it?
'DefaultFileName' => "" is empty.
Ok if i manually add this line and give a path and ofc the image name...then if you open the DFP2 upload behavior you will see that it has the path u entered...
So problem 1 solved...but...
Even with default file defined, the insert feature (i tried it only on insert.php) ignores this parameter and if it doesnt find anything in the file browse form element it just doesn't insert anything to the image column.
So DFP2 bug 1 = not inserting code under the 'DefaultFileName' => "" parameter. Even if you make it manualy so it recognises, if you go change it again, u will see again the code you had manually inserted.
bug2. Unsolved - Something wrong in DFP2 code and it doesnt even use the parameter. I will try diggin up in the include files to find the "WA_DFP_UploadFiles" fynction and check code there in order to speed up the resolving of this issue. If someone has found out sth plz post it asap.