DazJ Posted April 9, 2007 Posted April 9, 2007 Hi! First of all, I just want to say what an amazing program OSCommerce is. It's a brilliant piece of work and I'm very thankful for it. Right, my question...My host has tweaked send_mail so that emails from my website can only be sent to customers with the same email as my host. Pathetic, I know. So, what I'm wanting to do is simply change the CONTACT US, remove the fields, and have it simply say: "If you have any queries, comments or suggestions then please send us an email at [email protected]" How do I go about this? Any help would be much appreciated. Thanks in advance! Yours, Daz.
vasttech Posted April 9, 2007 Posted April 9, 2007 If your hosting company is only allowing e-mails to be sent to people who are using the same host then I would switch hosts without looking back. If they are that strict on something like that then you are going to have more problems down the road. osCommerce Knowledge Base osCommerce Documentation Contributions
kirikintha Posted April 9, 2007 Posted April 9, 2007 You just answered your own question, take out everything you don't need ( all the dynamic code ) and replace it with just plain old text. You don't even need to get into the guts of the program - be careful and back up Also - Jeff is correct - if you can only send mail in your own domain - then your hosting company has serious issues with security - there is no reason sendmail should care about what domain you are on or sending too. Sounds like them trying to upsell you into something. Nothing unreal exists
DazJ Posted April 9, 2007 Author Posted April 9, 2007 Thanks for the suggestions, lol...Yeah I know, I'm wanting a new host myself but in the meantime, which file do I edit (which folder) and what do I delete and what do I not delete? Cheers!
kirikintha Posted April 9, 2007 Posted April 9, 2007 ok - so catalog/contac_us.php is the file - now, what you delete is up to you - just remember to copy the original to a place you won't destroy it and mess with it a bit - it'll be easier in the future if you make some "blind" modifications ands ee what happens - if you have a working backup copy, you can do whatever and go right back to the original if need be. Having said that on contact_us.php you can comment out the code, so you are really not deleting anything like take this: <?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?> and change it to this: <?php //echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?> All you've done is hiddent the code from execution. Try that, and then in one of the table cells: <td>Just type in there and see what happens, if you have a backup you can be worry free in making any change!</td> Nothing unreal exists
DazJ Posted April 9, 2007 Author Posted April 9, 2007 ok - so catalog/contac_us.php is the file - now, what you delete is up to you - just remember to copy the original to a place you won't destroy it and mess with it a bit - it'll be easier in the future if you make some "blind" modifications ands ee what happens - if you have a working backup copy, you can do whatever and go right back to the original if need be. Having said that on contact_us.php you can comment out the code, so you are really not deleting anything like take this: <?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?> and change it to this: <?php //echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?> All you've done is hiddent the code from execution. Try that, and then in one of the table cells: <td>Just type in there and see what happens, if you have a backup you can be worry free in making any change!</td> Problem solved! Thankyou so much!
csk Posted May 3, 2007 Posted May 3, 2007 Hi. I'm tring to insert my contact details (text) below the Contact heading. I can't seem to find the right place to insert the text in the code in the Catalog/Contact_Us file. Is there any other way to do this? Help! :angry:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.