PDA

View Full Version : Installation problems with Dreamweaver 4


borderland400458
02-09-2010, 02:12 PM
I purchased the Contact Forms Solutions Pack for my website www.NoveltySoap.com two nights ago and have been attempting to get it to work on the site since then. Unfortunately I didn't realize that you need DW8 or newer to install the software. Can someone help?

Jason Byrnes
02-09-2010, 05:07 PM
The Contact form Solution pack is a collection of php scripts, there is nothing to install. you simply have to edit the WA_Globals.php file to suit your site, then upload the files to your server.

borderland400458
02-09-2010, 05:42 PM
I was able to modify and upload the WA_Globals.php file. Everything is installed on the site. The problem I ran into was attempting to add the code to my existing contact form. I just can't get it to work!

Jason Byrnes
02-10-2010, 01:21 PM
send a copy of the contact form so I can examine the code.

borderland400458
02-10-2010, 03:53 PM
The contact.html page is attached as a txt file as are
the contactthanks.html file and contactengine.php files.

All are also online at www.noveltysoap.com

Thanks,

Jim

Jason Byrnes
02-10-2010, 04:43 PM
Well, your not really using the contact form solution pack any more.

For one, you are hand coding your own function to send the email.

For two, your function to send the email is not in a PHP code block.


Have you tried using the contactus.php page that was supplied?

neilo
02-11-2010, 10:33 PM
Hi Jim,

I sent a test email via your form page, and it seemed to send fine. All that needs to happen now is to set the form into one your own template's pages, if you want to. There is a pdf file (http://assets.webassist.com/how-tos/contact_form_incorp_pages.pdf) that shows steps how to do this. If you have problems with that, I have attached a copy of how your finished 'contactus.php' should end up. If you like, you can either use the attached as a reference when making your own changes, or if you want you could just use the attached to replace your existing 'contactus.php' file. (Back-up your own file first in case you want to revert to it).

Don't forget that you still have to change the 'Contact Us' link in your 'contactthanks.html' page so that it links to 'contactus.php' and not 'contact.html'.

[Jason, - the poster was referring to difficulty in adding the CFSP code to his existing contact form, which you asked to see. So, for one, there is no hand coding of any functions going on . What you are seeing is part of an original template (http://www.justdreamweaver.com/templates/funco/contact.html) that had its own simple email script - along with a recommendation for (and link to) WebAssist's Contact Form Solution Pack. I have the same template. So (for two!) the function to send the email is not in a PHP code block because it was an html form in an html page with the action posting to contactengine.php. The issue was about advice on how to integrate the WA script(s) into an existing HTML template's pages and menu structure.]