close ad
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

DFP2 questions

Thread began 5/14/2009 11:11 am by kbettenc296716 | Last modified 5/17/2009 4:38 am by kbettenc296716 | 7292 views | 17 replies


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.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...