![]() |
editing contact us form
I would like to edit the cotact us page.
I would like the page to have only First and Last Name phone fax and form for comments. How do I edit the form. Also, where is the file located? Thanks all |
Looks to be under include\help.php
Haven't done anything with it myself but it might be a good place to start looking |
Also under Edit Templates is help\contactus.tpl
|
I found the tpl to edit. But after I edited the file with front page and did a test, the form didn't submit.
So what did I do wrong or what else do i need to edit? |
Not sure... did you look at the help.php file?
There's this bit: Code:
$fillerror = (empty($contact["firstname"]) || empty($contact["lastname"]) || empty($contact["b_address"]) || empty($contact["b_city"]) || empty($contact["b_country"]) || empty($contact["b_zipcode"]) || empty($contact["phone"]) || empty($contact["email"]) || empty($contact["subject"]) || empty($contact["body"])); Maybe you need to take some fields out of there so it doesn't produce an error when it looks for something that isn't there???? |
I havent look at that. I'll give it a try and let you all know.
|
Be very careful editing files with Front page or any other WYSIWYG editor. Many of them can't read Smarty tags and you will break your templates.
|
All times are GMT -8. The time now is 01:06 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.