Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Specialized Contact Form


81f82eae

Recommended Posts

As the contact form for osC and even the contribs available don't really do what I want it to do, I've decided to try my hand on making my own. What I did is I took catalog/privacy.php and includes/languages/english/privacy.php, downloaded them and renamed them both contact_importers.php. From there, I put in a <form> script onto the define('TEXT_INFORMATION', part of it. However, when I upload them and go to mysite.com/contact_importers.php, the page is simply blank. On catalog/contact_importers.php, I changed the information to the following:

 

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CONTACT_IMPORTERS);

 

$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CONTACT_IMPORTERS));

 

Is this wrong? Or am I missing another part that needs to be changed? Or can you simply NOT have a <form> script in the php file?

Link to comment
Share on other sites

After a bit more tinkering, the contact_importers script is now crashing out my entire store. This isn't working at ALL! Is there a way to add a new page, a simple HTML page that can handle these sort of scripts and still be "inside" the osCommerce framework? This might be more feasable.

Link to comment
Share on other sites

It's posting properly now, thanks! But does this method allow for a <form> tag? Dreamweaver isn't displaying it properly. When just typing "test test" or something, it shows. With the form mail part on it, it becomes blank again. The form mail is actually the tectite.com one. Perhaps I have to try something different.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...