Forums / General Questions / Removing box on Contact Us page

Removing box on Contact Us page

Locked

Views: 1,178

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
11 Sep 2008, 3:15 AM
#1
homebrew avatar

homebrew

New Zenner

Join Date:
Sep 2008
Posts:
4
Plugin Contributions:
0

Removing box on Contact Us page

Hi,

I have tried everything to get my gmail to work but I can't get it to send or receive even though I just put in my email address before and it worked fine(must be something gmail did). With that being said I have decided to give up on linking my email(unless someone can help me). I have removed mostly every thing e-mail related. My problem is that I have a message box on my contact us page (you know you type in a message hit send and it sends it via local e-mail server) and I have no clue how to get rid of it. I just want to have my e-mail address listed so people can use on there own e-mail program/website.

Thanks in advance.

11 Sep 2008, 3:26 AM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Removing box on Contact Us page

I'm not really sure what you're trying to do, but putting your email address on your site will open you up to all sorts of spam.

Your email address should be stored in admin>configuration>e-mail options.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

11 Sep 2008, 3:37 AM
#3
homebrew avatar

homebrew

New Zenner

Join Date:
Sep 2008
Posts:
4
Plugin Contributions:
0

Re: Removing box on Contact Us page

I tried to configure it and I can't get it to send or recieve. I am using gmail. I have configured it just like I configured my thunderbird. I installed E-mail Archive Manager and it says it is sending it. I know my gmail is configured properly since I am using thunderbird and it works fine.So I gave up and just wanted to remove this box (highlighted in green)

and have a e-mail me link instead (commom mailto: link you know)

11 Sep 2008, 4:15 AM
#4
homebrew avatar

homebrew

New Zenner

Join Date:
Sep 2008
Posts:
4
Plugin Contributions:
0

Re: Removing box on Contact Us page

Ok I figured it out...I guess I could have tried harder...

Ok in the file:

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

and locate:

<fieldset id="contactUsForm">

<legend><?php echo HEADING_TITLE; ?></legend> <div class="alert forward"><?php echo FORM_REQUIRED_INFORMATION; ?></div> <br class="clearBoth" /> <?php // show dropdown if set if (CONTACT_US_LIST !=''){ ?>

<label class="inputLabel" for="send-to"><?php echo SEND_TO_TEXT; ?></label>

<?php echo zen_draw_pull_down_menu('send_to', $send_to_array, 0, 'id="send-to"') . '<span class="alert">' . ENTRY_REQUIRED_SYMBOL . '</span>'; ?> <br class="clearBoth" /> <?php } ?>

<label class="inputLabel" for="contactname"><?php echo ENTRY_NAME; ?></label>

<?php echo zen_draw_input_field('contactname', $name, ' size="40" id="contactname"') . '<span class="alert">' . ENTRY_REQUIRED_SYMBOL . '</span>'; ?> <br class="clearBoth" />

<label class="inputLabel" for="email-address"><?php echo ENTRY_EMAIL; ?></label>

<?php echo zen_draw_input_field('email', ($error ? $_POST['email'] : $email), ' size="40" id="email-address"') . '<span class="alert">' . ENTRY_REQUIRED_SYMBOL . '</span>'; ?> <br class="clearBoth" />

<label for="enquiry"><?php echo ENTRY_ENQUIRY . '<span class="alert">' . ENTRY_REQUIRED_SYMBOL . '</span>'; ?></label>

<?php echo zen_draw_textarea_field('enquiry', '30', '7', '', 'id="enquiry"'); ?> </fieldset>

and delete it...voala!! it's gone. now if some one can make a tool for that I think that would be cool.

Thanks for the help anyways

11 Sep 2008, 4:20 AM
#5
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Removing box on Contact Us page

My guess is that your configuration is incorrect, but I don't know enough about it to diagnose what. I've got 3 Zen Cart sites all using the Contact Us page successfully. None of them use gmail, tho, so I'm not familiar with the setup.

(BTW, it's voila)

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

11 Sep 2008, 8:53 AM
#6
homebrew avatar

homebrew

New Zenner

Join Date:
Sep 2008
Posts:
4
Plugin Contributions:
0

Re: Removing box on Contact Us page

...and voila...hehehe sorry. May I ask what mail you are using?