PDA

View Full Version : Contact form


ibeepix
05-09-2008, 10:31 AM
I've been trying to add a contact form to my photoblog by using the contact form addon and it all looks great but unfortunately it's not sending any emails :-( to my email account. I've added my email address where I should in the admin addon section.
I've tested it a few times and I have no idea what I'm doing wrong.

Please have a look at the page (http://photoblog.inebeerten.be/index.php?x=about) and it's sourcecode, maybe you can see what's wrong.

Thanks,
Ine

mowopi
05-09-2008, 08:12 PM
I had the same problems after installing this addon. This addon is designed to work with a file called "contact_form_template.htm". Copy your about_template.htm and save it as contact_form_template.htm and try it.

TAOG
05-10-2008, 09:33 AM
ore go in to the addon contact_form.php file.
search for
if(isset($_GET['x']) && $_GET['x'] == "contact_form" && $_SERVER['REQUEST_METHOD'] == "POST"){

and replace "contact_form" with your template filename.

then go into your template and search for
<form method='post' action='index.php?x=contact_form'>
and replace contact_form with your template filename.

works on my own site. www.taog.de/ (http://www.taog.de/index.php?x=kontakt)

ibeepix
05-11-2008, 04:15 PM
thanks,

I did what mowopi said, and it works :-)

TAOG
05-12-2008, 10:39 AM
ok, this works, when u have english pagetitels ;) i am german and so i must "hack" the code.