Adding a Contact Form to iWeb

16 Apr '08 Filed under Tutorials, iTweak -

36 Comments

  1. mark posted:

    I did the contact form and all I see is the codes I put in the text boxes nothing is working yet . it processed the site without a problem , and I uploaded afer that and not working for me, I have godaddy so I have php.. do you knwo what it could be?

  2. mark posted:

    now I have this error when I hit contact

    Parse error: parse error, unexpected T_STRING in /home/content/C/n/y/Cny1969/html/sites/markarcarophotography/Mark_Arcaro_Photography/Mark_Arcaro_PhotographyContact.php on line 1

  3. Max Karreth posted:

    could you give me your site URL?

    max

  4. mark posted:

    Sure here you go..I took the contact off the navbar so it didnt look funny not working. but the page is still there:

    http://www.markarcarophotography.com/Mark_Arcaro_Photography/Contact.html

    http://www.markarcarophotography.com/Mark_Arcaro_Photography/Mark_Arcaro_PhotographyContact.php

    http://www.markarcarophotography.com/Mark_Arcaro_Photography/Mark_Arcaro_PhotographyThanks.php

  5. Max Karreth posted:

    apparently i cant read the contents of the files, so i cant say what there is that sux at line 1. drop me a mail with the the files attached. thanks

    max

  6. mark posted:

    the wierd thing is there is nothing in the file .php like it wasnt even written yet

  7. mark posted:

    there both just blank

  8. Max Karreth posted:

    try republishing your site and see if it works then….

  9. lukasig posted:

    Hi max…
    i ran into the same problem i think. The %%CONTACT_FORM_MAIN%% text box is a separate one… i made no changes to it’s style, and it does not work. The server is php capable. any suggestions?

    btw… great job so far man.

  10. Max Karreth posted:

    did you select your pages correctly? the server is php capable cause obviously it shows me the contents. as it seems, itweak only turned it into a php file - but didnt add the php stuff to the file. id suggest you try again.

    max

  11. Neil posted:

    Hi max,
    This seems to be a bit of any issue. I’ve tired following your tutorial to the letter over and over and over again, but I still have no joy. =(

  12. Max Karreth posted:

    guys - i tried it myself and there seems to be an issue with itweak. somehow it worked with me while i tested it with the debug version - but the release b aint workin.

    expect an update later today

    max

  13. Neil posted:

    Excellent news! Thanks Max! =)

  14. Neil posted:

    Hi Max,

    I can confirm that the Contact form works with iTweak 1.4. However, the Thankyou page still just shows %%CONTACT_FORM_SUB%%
    Also, is there a way to limit the size of the message box as if the user expands the message box to a size larger than the allocated 400×270, then it becomes impossible to click ‘Send’, even though it is still visible.

    Kind Regards,
    Neil.

  15. Max Karreth posted:

    Neil,

    Yes, the sub aint working. I have just released iTweak 1.4.2 which should make the adding of contact forms work for 100%!

    For your resize problem, I guess that just making the text-box larger is the best way to go. iWebs content is not made to work if something is resized, all the elements are fixed (unlike my site here).

    Max

  16. lukasig posted:

    Awesome job Max. Thank you so much.

  17. Neil posted:

    Thanks Max! Good work! =)

  18. Caroline K posted:

    Works like a charm! Thanks for this tutorial.

  19. jason posted:

    This is absolutely a beautiful tool… and exactly what I wanted to integrate it into my site! Works even better than other types of email forms, which require the .cgi ….
    Many thanks!

  20. ROB posted:

    so i’ve tried to do this- but it doesn’t seem to work- all i get is the text I’ve typed in… any help would be great

  21. Caskey posted:

    I’m really excited about this and it works so easily. I have an off-white background on my page. Is there a way to change the font color?

  22. Max Karreth posted:

    iTweak takes the style for the defaults theme text. I will look and see how I can modify that to take the syle of the textbox. let me see ;.D

  23. Morrelle McCrary posted:

    Is there any way to change the fields of information for the contact information? For example the wording “your email and the overall size of the information boxes to collect data?

    Great job otherwise, works like a charm, just want to change a few things to work for my site.

  24. Max Karreth posted:

    Morrelle,

    No, there is no way to (well there is no easy way) to change the number of fields. What you can change is the labels in front the fields. Ie the “Name” or “E-Mail” labels.
    You can change them by editing the HTML of the published files. Open the contact files (ending in .php) up in a texteditor such as Coda/Textmate and search for the keywords “Name” and “E-Mail.” Then replace them with what you want.

    max

  25. Ramsey posted:

    Hi Max - I have looked all over the internet for something like this. Thanks for making it available.
    could you please help me with this error?

    thank you
    ramesy

    Parse error: syntax error, unexpected T_STRING in /home/content/s/p/i/spiritmanram23/html/Prayer_Request.php on line 1

  26. gideon posted:

    same problem as above and i’m using v.1.4.5. thanks.

  27. Max Karreth posted:

    @Gideon and Ramsey: Drop me an email about it.

    Max

  28. Gautam posted:

    I added two pages to my iWeb one called Add_Contact and the other Thanks and followed all the instructions. But now the website does not load. When I give the full url c-connection.biswas.ch/Add_Contact to check I get the follwoing message

    Parse error: syntax error, unexpected T_STRING in /home/biswas/www/c-connection/Add_Contact.php on line 1

  29. Ben Jeffery posted:

    Any luck with modifying iTweak so it takes the style from the text box?

    Apart from this, absolutely brilliant!!

  30. Jordan posted:

    I tried this and did everything it said and nothing shows up on my website. Also, I tried using iTweak to add google analytics to my page, but it is not working either. I have followed both tutorials and nothing is working. When I look at the page info on my computer it is in the html files, but when checked on the website itself nothing shows.

  31. Hemant posted:

    It worked fine very first time I tried.

    Thanks a lot.

  32. Max Karreth posted:

    @ Jordan, Ben, Gautam - please send me emails about your problems! Thanks
    @Hemant - Thanks for your comment. :-D

  33. Darren posted:

    Amazing program. Thank you so much… I can’t believe how well it works….

    I even got to edit the files as I pleased… just one question… how do I change the code so that it will send to multiple e-mails??

  34. Max Karreth posted:

    In ITweak, try typing your emails separated with a comma or semicolon. For example:

    mail@mail.com;mail@mail.com or mail@mail.com,mail@mail.com

    or maybe you need to add space.

    mail@mail.com; mail@mail.com or mail@mail.com, mail@mail.com

    I have no idea … you need to experiment a bit. :-D
    Max

  35. Michael posted:

    Well done - thx

    You app crashes if I try to use it again afetr I use it once, btw. I need to quit and restart each time. That’s OK…

    Can I change fonts? I know enough PHP, but is that the best option? Then every time I make a change I need to:

    a) use iweb
    b) use itweak
    c) again add php changes

    seems that there must be a simpler way?

    michael

  36. Max Karreth posted:

    Michael,

    Um when the app crashes is not fine. :-( Where does it crash?

    Change fonts is a difficult one. iTweak sets the style of the form to the css class “body.” You can change that in PHP to modify the look of the form.

    Max

Post a comment: