close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Two nagging issues with DFP 2 I can't solve

Thread began 1/12/2010 2:30 pm by Brad Lawryk | Last modified 1/29/2010 8:45 pm by Brad Lawryk | 1568 views | 12 replies

tom113673

I didn't find the documentation about this before trying to find a solution to the upload problem. Having come across the documentation I tried it in case I was missing out on a simpler way; like you, I found it didn't work. I'm sure it does work in the right circumstances but it's quite easy to trigger bugs in some of these exensions - perhaps this is the problem.

Assuming your update form has a hidden variable containing the filename currently stored in the database, simply setting the DefaultFileName seems to work, eg instead of:

'DefaultFileName' => "".$WA_DFP_UploadStatus["WA_UploadResult1"]["serverFileName"] ."",
(as suggested in the documentation)
use
'DefaultFileName' => "".((isset($_POST["imagefile"]))?$_POST["imagefile"]:"") ."",
where imagefile is the hidden filename

or enter:
<?php echo ((isset($_POST["imagefile"]))?$_POST["imagefile"]:""); ?>
in the Default file field using the extension interface.

I don't find these extensions very robust when compared to the Interakt extensions (which I recall you use) - often the code needs tidying up for stray tags etc. and bugs triggered by things such as undescores in fieldnames. Also, for creating a finished form, including validations, sorting, navigation, image upload and debugging etc. the time taken WA:Interakt is something link hours:minutes. Having said that, you are more in control of the finished result. I think some of the extensions are very good and others could be very good. My concern is that they could become worse rather than better, if for example greater integration is made between CSS forms and DataAssist. Hopefully I will proved wrong.

Tom

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

Content

rating

Layout

rating

Ease of use

rating

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...