|
| |
|
|
d a v e
Posts: 4177 Joined: 7/24/2002 From: England (but live in Finland now) Status: offline
|
frontpage form copied from page not working - 12/21/2006 13:34:54
i copied the code for a frontpage form into a new template that i made in dreamweaver, checked the code and made it look exactly the same as the fp page but saved it as a different file name and changed the webbot bit to my email not the clients. anyway id din't work for the client and now doesn't work using my email address (i assume the original page works ...) the original page is here http://encinosmiledr.com/contact.htm my attempt is here http://encinosmiledr.com/contact_new.htm obviously i'm editing in dw the closing the file, opening the site in fp and publishing changes: this has worked fine for other, non-form pages but now it's misbehaving. help!
_____________________________
David Prescott Gekko web design
|
|
|
|
rubyaim
Posts: 757 Joined: 6/22/2005 Status: offline
|
RE: frontpage form copied from page not working - 12/21/2006 16:59:30
Hi Dave, I copied your form and worked live on the server - got it to work fine - below is what worked here: Start of the form:
<form action="--WEBBOT-SELF--" method="POST"><!--webbot bot="SaveResults" S-Email-Format="TEXT/PRE" S-Email-Address="someone@example.com" B-Email-Label-Fields="TRUE" S-Builtin-Fields U-Confirmation-Url="confirmationpage.htm" -->
End of the form (removed the link):
<p>
<input tabindex="8" type="submit" value="Click Here for an Appointment" name="click_here_for_an_appointment">
<input tabindex="9" type="reset" value="Start Over" name="reset">
</p>
</form>
_____________________________
Sally
|
|
|
|
d a v e
Posts: 4177 Joined: 7/24/2002 From: England (but live in Finland now) Status: offline
|
RE: frontpage form copied from page not working - 12/22/2006 12:49:48
you mean you got an email sent to you with the form results?! client said later tonight that everytime he modified the page his GWD (his host, i think) had to reset something (reinstall extensions perhaps??) seems a bit weird maybe but would explain why it works for you and not for me because the extensions on broken on our server (but peachy on yours) does this make sense ? i'm a fair bit of a fronptage newbie ;)
_____________________________
David Prescott Gekko web design
|
|
|
|
Tailslide
Posts: 6292 Joined: 5/10/2005 From: Out here on the raggedy edge Status: offline
|
RE: frontpage form copied from page not working - 12/22/2006 13:02:50
Dave - is there a reason why you're using FP to do the form? Why not just do a normal form - If the client wants to edit the site using FP - they're unlikely to edit the form surely?
_____________________________
"My strategy is so simple an idiot could have devised it" Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project
|
|
|
|
Tailslide
Posts: 6292 Joined: 5/10/2005 From: Out here on the raggedy edge Status: offline
|
RE: frontpage form copied from page not working - 12/22/2006 15:26:43
If you check which server type you've got via the FF web developer toolbar (information > response headers) you'll find out if it's IIS or apache or whatever. I reckon a very very high percentage of hosts offer PHP so you'd have to be unlucky not to have it. For forms I use the NMS version of FormMail - http://nms-cgi.sourceforge.net/scripts.shtml It's secure and pretty easy to use. All you do is unzip the file, add in the various bits such as email address for the email to go to, the domain name, the IP address and the path to the stylesheet if you want to tart up the error page. You need to change the first setting to 1 from 0 which is for testing (might be the other way around) then upload it to the cgi-bin on the web server. Change the CHMOD to 755 and add the hidden fields to the form. The rest of the form is unchanged - whatever fields you had before. That's it. It doesn't need a PHP extension or anything like that. If you get stuck I can send you an example or two of forms I've done if that's any help (including the formmail.tpl file so you can see a "real" version).
_____________________________
"My strategy is so simple an idiot could have devised it" Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project
|
|
|
|
d a v e
Posts: 4177 Joined: 7/24/2002 From: England (but live in Finland now) Status: offline
|
RE: frontpage form copied from page not working - 12/22/2006 15:43:48
i'll try that out and get back in a few days and let you know how it worked out thanks :)
_____________________________
David Prescott Gekko web design
|
|
|
|
rubyaim
Posts: 757 Joined: 6/22/2005 Status: offline
|
RE: frontpage form copied from page not working - 12/22/2006 16:21:43
quote:
- if they do and i need e.g. a php extensions on the page do i have to recalcualte all hyperlinks in fp?? Hi Dave, if you go to a PHP form (I would in this case given it's on 'nix and the extensions are a problem), then there is probably no need to open the site in FP at all - you can stick with DW. Is there anything else on the site using FP widgets?
_____________________________
Sally
|
|
|
|
Tailslide
Posts: 6292 Joined: 5/10/2005 From: Out here on the raggedy edge Status: offline
|
RE: frontpage form copied from page not working - 12/22/2006 16:35:32
I forgot to mention that the nms formmail is perl so it's independent of php or asp and should work on any type of server.
_____________________________
"My strategy is so simple an idiot could have devised it" Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project
|
|
|
|
Tailslide
Posts: 6292 Joined: 5/10/2005 From: Out here on the raggedy edge Status: offline
|
RE: frontpage form copied from page not working - 12/22/2006 17:27:56
You mean Perl? I guess so. I've not come across an occasion where it's not set up - but that doesn't mean that all servers have it. I remember that it can certainly run on IIS. They've got a massive FAQ there (sourcefourge type thing) so it must be covered in there somewhere!
_____________________________
"My strategy is so simple an idiot could have devised it" Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project
|
|
|
|
d a v e
Posts: 4177 Joined: 7/24/2002 From: England (but live in Finland now) Status: offline
|
RE: frontpage form copied from page not working - 12/27/2006 7:08:51
where's the cgi bin on the server? in fp i don't see it in any of the folders, or is it hidden by default?
_____________________________
David Prescott Gekko web design
|
|
|
|
Tailslide
Posts: 6292 Joined: 5/10/2005 From: Out here on the raggedy edge Status: offline
|
RE: frontpage form copied from page not working - 12/27/2006 8:36:06
I access the web server via an FTP programme - the cgi-bin is usually inside the public_html folder but as Jaybee says can sometimes be higher up.
_____________________________
"My strategy is so simple an idiot could have devised it" Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project
|
|
|
|
d a v e
Posts: 4177 Joined: 7/24/2002 From: England (but live in Finland now) Status: offline
|
RE: frontpage form copied from page not working - 1/13/2007 15:57:17
with tail's help i've used 'her' perl form and now got my test form working. just working on the real thing now ;) thanks all
_____________________________
David Prescott Gekko web design
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|