Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding topic to 'Information'


andibrad

Recommended Posts

Posted

What I did:-

 

I copied the 'shipping.php' file in /public_html/store/includes/languages/english

 

and renamed it to 'about_us.php'. I deleted all the text in the file and added some text about my store and resaved it in /public_html/store/includes/languages/english because this is where other 'Information' files are to be found.

 

So far so good. :)

 

Next I defined the filename in /public_html/store/includes with

define('FILENAME_ABOUT_US', 'about_us.php');

again I copied the entry for shipping and altered it for my 'about us' file.

 

I made an entry in 'information.php' with '<a href="' . tep_href_link(FILENAME_ABOUT_US) . '">' . BOX_INFORMATION_ABOUT_US . '</a><br>' .

 

Lastly I made an entry in 'english.php' with

define('BOX_INFORMATION_ABOUT_US', 'About Us');

 

I think that is what I did, I have messed about with this for the last few days so have probably forgotten everything I did.

 

Anyway, I still get HTTP 404 - File not found, when I click on my 'about us' entry in my information box. What have I missed? Is there anything else I need to do to make it work, because I can't for the life of me figure it out. :blink:

 

Thanks in advance,

 

 

Andi at RailBooks

Posted

The steps you took appear to be correct.

 

Maybe this is too obvious, but did you upload the about_us.php file to your server?

 

Or...

 

Could there be a problem with case sensitivity? (i.e. did you name it or upload it as About_Us.php or ABOUT_US.PHP?)

 

HTH,

 

Terry

Terry Kluytmans

 

Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like:

 

Add order total to checkout_shipment

Add order total to checkout_payment

Add radio buttons at checkout_shipping (for backorder options, etc.)

Duplicate Table Rate Shipping Module

Better Product Review Flow

 

* If at first you don't succeed, find out if there's a prize for the loser. *

Archived

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

×
×
  • Create New...