Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

links on left not working


Guest

Recommended Posts

All i did is open up the Contact_us file and save it as about_us, then make the necessary changes.

 

whats in the conditions.php file?

 

what is it that i need to do?

 

brian

Link to comment
Share on other sites

Ok so i opened conditions.php and copied the info from it and put it in the about_us file, and now when clicked it goes to blank screen..

 

 

any ideas?

Link to comment
Share on other sites

You also need to create a language file - about_us.php as per conditions.php in /catalog/includes/languages/english/conditions.php

 

then in /catalog/includes/languages/english.php you have to create a line as per:

 

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

 

 

There's no special reason I recommended basing it on conditions.php

 

I think that's it......

Unexpect the Expected

Link to comment
Share on other sites

also - don,t forget, in about_us.php change:

 

 

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



 $location = ' » <a href="' . tep_href_link(FILENAME_CONDITIONS, '', 'NONSSL') . '" class="headerNavigation">' . NAVBAR_TITLE . '</a>';

 

with

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



 $location = ' » <a href="' . tep_href_link(FILENAME_ABOUT_US, '', 'NONSSL') . '" class="headerNavigation">' . NAVBAR_TITLE . '</a>';

Unexpect the Expected

Link to comment
Share on other sites

I dont have a english.php in the languages/english directory

there is one in the languages directory, is that what you are talking about?

 

I have the About_us.php in the languages/english directory and its just like the conditions file, except for the file name itsself in the code, i did change that to about_us

 

also that code you said i needed to change, i dont see it in the about_us.php or the conditions.php file, where would that code be?

 

grateful

 

Brian

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...