Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Contact form - missing !!

Contact form - missing !!

Locked

Views: 985

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
4 Jun 2010, 2:50 PM
#1
yamadan avatar

yamadan

New Zenner

Join Date:
Nov 2009
Posts:
60
Plugin Contributions:
0

Contact form - missing !!

Hi,
Can some one please post which files contain all the standard code for the Contact Form.
It must have been stripped out of the template.
Thanks.

4 Jun 2010, 11:29 PM
#2
yamadan avatar

yamadan

New Zenner

Join Date:
Nov 2009
Posts:
60
Plugin Contributions:
0

Re: Contact form - missing !!

More info...

I have checked the following folders for files related to contact us and they look ok compared with a working site.

includes-templates-theme213-templates
includes-languages-english
includes-modules-pages-contact_us
includes-languages-english-html_includes
includes-templates-template_default-templates

If I change back to the classic template there is still NO contact form?

I have inherited the site, it is using a template monster template and there are 2 other template overrides back end. NOT in use of course.

The define contact page text appears ok.

Where else should I check for any errors?
Or have I over looked a simple setting somewhere?

5 Jun 2010, 10:01 AM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Contact form - missing !!

A link would help.

What happens when you try to access the page - a 404 or just a blank page ? If blank, have you run the Debug Utility (or just checked your debug logs, depending on Zencart version) ?

5 Jun 2010, 10:34 AM
#4
yamadan avatar

yamadan

New Zenner

Join Date:
Nov 2009
Posts:
60
Plugin Contributions:
0

Re: Contact form - missing !!

Hi,

Page is there just no contact form.

http://cb4accessories.com/index.php?main_page=contact_us

I have just found a few lines of code missing in:

/includes/templates/template_default/templates/tpl_contact_us_default.php

<fieldset id="contactUsForm"> <legend><?php echo HEADING_TITLE; ?></legend> <div class="alert forward"><?php echo FORM_REQUIRED_INFORMATION; ?></div> <br class="clearBoth" />

added this But still not showing?

5 Jun 2010, 10:44 AM
#5
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Contact form - missing !!

What happens if you get that file from a fresh Zencart zip file and replace the one there (and the one in the includes/templates/theme213/templates folder, if any) ?

5 Jun 2010, 11:17 AM
#6
yamadan avatar

yamadan

New Zenner

Join Date:
Nov 2009
Posts:
60
Plugin Contributions:
0

Re: Contact form - missing !!

You are so right...:D

Thanks Stevesh,

you just saved me hours.

5 Jun 2010, 6:07 PM
#7
yamadan avatar

yamadan

New Zenner

Join Date:
Nov 2009
Posts:
60
Plugin Contributions:
0

Re: Contact form - missing !!

Wait!!
I have just tested the contact form
and did not receive an email to my address set up in email options?

Is there more that i need to check?

Thanks

5 Jun 2010, 7:21 PM
#8
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Contact form - missing !!

Be sure the address(es) in the Contact Us email dropdown list are (is) in the proper format: **name email@address, **etc.