Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Contact us Drop down list

Contact us Drop down list

Locked

Views: 1,380

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
22 Apr 2007, 1:31 PM
#1
dasonix avatar

dasonix

New Zenner

Join Date:
Sep 2006
Posts:
79
Plugin Contributions:
0

Contact us Drop down list

I am trying to change our contact us page to allow a few dif options e.g.

Customer Support
Order tracking
Website Problems

etc etc

I have found this bit of code in includes/modules.pages/contact_us/header_php.php

// use contact us dropdown if defined
    if (CONTACT_US_LIST !=''){
      $send_to_array=explode("," ,CONTACT_US_LIST);
      preg_match('/\<[^>]+\>/', $send_to_array[$_POST['send_to']], $send_email_array);
      $send_to_email= eregi_replace (">", "", $send_email_array[0]);
      $send_to_email= eregi_replace ("<", "", $send_to_email);
      $send_to_name = preg_replace('/\<[^*]*/', '', $send_to_array[$_POST['send_to']]);
    } else {  //otherwise default to EMAIL_FROM and store name
    $send_to_email = EMAIL_FROM;
    $send_to_name =  STORE_NAME;

I notice the // use contact us dropdown if defined at the top

My question How do I define the drop down list?

Thank you

22 Apr 2007, 1:34 PM
#2
dasonix avatar

dasonix

New Zenner

Join Date:
Sep 2006
Posts:
79
Plugin Contributions:
0

Re: Contact us Drop down list

cancel this I found it in Admin/email options

TY