Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Info boxes not on all pages


jeztechs

Recommended Posts

Hi all,

 

This may be simple but its foxed me? On some of my pages all the info boxes such as 'tell a freind' show up in the 'column right, and are defined in the column_right.php file.........why wont the same 'tell a friend' box show up on my home page????

 

Any ideas would be great.

 

Many thanks in advance.

Jeremy

Link to comment
Share on other sites

Hi all,

 

This may be simple but its foxed me? On some of my pages all the info boxes such as 'tell a freind' show up in the 'column right, and are defined in the column_right.php file.........why wont the same 'tell a friend' box show up on my home page????

 

Any ideas would be great.

 

Many thanks in advance.

Jeremy

 

The 'tell a friend' infobox is meant to only show when someone is viewing a product and not on any other pages. There is some more infoboxes which only show when you are on a specific page. It's just the way osCommerce has been setup.

Link to comment
Share on other sites

Hi Jeremy,

 

If you want the 'tell a friend' to show all the time all you need to do is change this

 

  if (isset($HTTP_GET_VARS['products_id'])) {
if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES . 'tell_a_friend.php');
 } else {
include(DIR_WS_BOXES . 'specials.php');
 }

 

to this

 

include(DIR_WS_BOXES . 'tell_a_friend.php');
include(DIR_WS_BOXES . 'specials.php');

 

Mark

Lifes a bitch, then you marry one, then you die!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...