osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Contact Us New Fields

This is a discussion on Contact Us New Fields within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Need to add new fields to the contact us page including but not limited to Address, Request Catalog This question ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 05-21-2004, 09:13 AM
New Member
 
Join Date: Apr 2004
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
eviternity
Default Contact Us New Fields

Need to add new fields to the contact us page including but not limited to

Address, Request Catalog

This question has been asked before but was not answered.

Would it be easier to just create my own form in HTML? If so what tags do I need to keep on the page? (catalog/includes/languages/english/contact_us) I know there is another page but I am not sure of its location by memory.

Thank you,
Jessica McCarty
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 05-21-2004, 09:48 AM
New Member
 
Join Date: Apr 2004
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
eviternity
Default

OK I have added the new fields on the "catalog/contact_us.php file".
I have edited the "catalog/includes/languages/contact_us.php"
and I have edited the "catalog/templates/contect/contact_us_tpl.php".

It seems to work there are no errors, but the email that is sent is missing the new fields. I know when using cgi you have to have a text file for the email to work properly. What file does this email need to show up correctly?

Thank you,
Jessica McCarty
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 05-25-2004, 08:19 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,568
Thanks: 1
Thanked 84 Times in 71 Posts
Rep Power: 10
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default

Depending what your addring I would follow "$enquiry" in that file and add my new feilds as required. Everywhere you have an "$enquiry" or related feild you should have one for your new feild.

For emails - i think you should look at the following code (Aprox line 23 in contact_us.php):
Code:
    if (tep_validate_email($email_address)) {
      tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $enquiry, $name, $email_address);
Good Luck
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Contact Us problem TracyG osCMax v1.7 Discussion 3 10-26-2006 12:04 PM
Contact _us oneplace2u osCommerce 2.2 Modification Help 4 07-28-2006 06:37 AM
contact up help Raysworld osCMax v1.7 Discussion 0 11-07-2004 08:02 AM
Contact Form MOD drakonan osCommerce 2.2 Modification Help 1 01-03-2003 08:25 AM


All times are GMT -8. The time now is 10:39 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax