Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I need help with contact us php ASAP!!!


MAryann732

Recommended Posts

Posted

Yesterday I posted a message stating:

 

I need step by step intructions on how to add my company name, address & phone number to my Contact Us page so you could see it on the website. Also, how do I add a table of contents page to my website. It would have to be under the information section on my website. I would like to add several lists like "stones and their metaphysical meaning".

 

I got some suggestions from this site to change the code. Now I am having a problem trying to change contact Us php. I keep getting error message saying "Error: I can not write to this file. Please set the right user permissions". I even asked the person who built my store and he doesn't know. He told me to try and get info from OSC. How can I fix this. Any suggestions. I would really like to have this fixed ASAP. Please can someone help me! I would greatly appreciate it.

 

here is my website URL: http://www.mysticalunicorn.net

 

Maryann Overmere

Mystical Unicorn

Posted

For the first question just look beneath my name in the list of Contributions and you'll find what you want to automatically put that information into the Contact us page. To edit files you need to download them via FTP, edit them in a plain text editor like NotePad or Text Pad or Crimson Editor, and then upload them once edited. After you've downloaded the file and before you start editing it - take a backup (just in case).

 

To make a new page:

-------------------------

 

Open the root level privacy.php page and elect to Save As 'newname.php'. Then edit the two references to FILENAME_PRIVACY to FILENAME_NEWNAME in that file

 

Open the includes/languages/english/privacy.php page and elect to Save As 'newname.php' and edit the NAVBAR and HEADING titles.

 

Then add the new page to includes/filenames.php, as below:

define('FILENAME_NEWNAME', 'newname.php');

 

Then edit includes/boxes/information.php, and change this last line:

'<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>');

 

to read like so:

'<a href="' .tep_href_link(FILENAME_NEWNAME). '"> . BOX_INFORMATION_NEWNAME . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>');

 

then in includes/languages/english.php, in the Information Box section add this:

 

define('BOX_INFORMATION_NEWNAME', 'Descriptive Text');

 

Then you add your page content to includes/languages/english/newname.php

 

Vger

Posted
For the first question just look beneath my name in the list of Contributions and you'll find what you want to automatically put that information into the Contact us page. To edit files you need to download them via FTP, edit them in a plain text editor like NotePad or Text Pad or Crimson Editor, and then upload them once edited. After you've downloaded the file and before you start editing it - take a backup (just in case).

 

To make a new page:

-------------------------

 

Open the root level privacy.php page and elect to Save As 'newname.php'. Then edit the two references to FILENAME_PRIVACY to FILENAME_NEWNAME in that file

 

Open the includes/languages/english/privacy.php page and elect to Save As 'newname.php' and edit the NAVBAR and HEADING titles.

 

Then add the new page to includes/filenames.php, as below:

define('FILENAME_NEWNAME', 'newname.php');

 

Then edit includes/boxes/information.php, and change this last line:

'<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>');

 

to read like so:

'<a href="' .tep_href_link(FILENAME_NEWNAME). '"> . BOX_INFORMATION_NEWNAME . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>');

 

then in includes/languages/english.php, in the Information Box section add this:

 

define('BOX_INFORMATION_NEWNAME', 'Descriptive Text');

 

Then you add your page content to includes/languages/english/newname.php

 

Vger

Posted
For the first question just look beneath my name in the list of Contributions and you'll find what you want to automatically put that information into the Contact us page. To edit files you need to download them via FTP, edit them in a plain text editor like NotePad or Text Pad or Crimson Editor, and then upload them once edited. After you've downloaded the file and before you start editing it - take a backup (just in case).

 

To make a new page:

-------------------------

 

Open the root level privacy.php page and elect to Save As 'newname.php'. Then edit the two references to FILENAME_PRIVACY to FILENAME_NEWNAME in that file

 

Open the includes/languages/english/privacy.php page and elect to Save As 'newname.php' and edit the NAVBAR and HEADING titles.

 

Then add the new page to includes/filenames.php, as below:

define('FILENAME_NEWNAME', 'newname.php');

 

Then edit includes/boxes/information.php, and change this last line:

'<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>');

 

to read like so:

'<a href="' .tep_href_link(FILENAME_NEWNAME). '"> . BOX_INFORMATION_NEWNAME . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>');

 

then in includes/languages/english.php, in the Information Box section add this:

 

define('BOX_INFORMATION_NEWNAME', 'Descriptive Text');

 

Then you add your page content to includes/languages/english/newname.php

 

Vger

 

I don't mean to sound like a moron but this is all very new to me, I am trying to do this by myself and I don't want to screw up my webstore. How do I download them via FTP. I only have word pad, where would I be able to get NotePad or Text Pad or Crimson Editor. Once I do that what page would I go to for editing contact info.

Posted

Go to your hosting cpanel and open your files via file manager there-=-not file manager in the osc shop admin! It messes files up and I am not even sure why it is part of the admin really, but it is. That said--

 

Copy the page and paste into your editing software--wordpad should be ok--I personally use dreamweaver to open and edit all my files--but if you do not have dreamweaver then do it the way vger stated--and the instructions given are very clear. they are for making a whole new page.

 

To add contact info to contact us page then open up languages/english/contact_us.php and add the info, make a copy of the original file in case you screw it up then if you do you still have the original to put back

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...