Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Information Box


Guest

Recommended Posts

Posted

Hello.

 

I wish to add a couple of pages linked from the information box, which on my site ( http://www.blackholebooks.com/ ) is at the bottom-left.

 

So includes/column_left.php contains the call to include the different boxes for that column. And that calls includes/boxes/information.php, which contains a bunch of lines such as:

'<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' .

What does the TEP stuff mean please?

 

Where are those capitalised variables defined?

 

Do I need to add such variables somewhere to properly add pages to my Information box?

 

Thanks.

Posted

1)In a nutshell it is calling a php function .

2) Example below

3)Yes and here is how

to add a link to your pages you created you first need to go to catelog/includes/filenames.php

add the code for you page.

define('FILENAME_YOUR_PAGE', 'your_new_page.php');

then go to catelog/includes/languages/english.php

 

add this anywhere before the last ?>

define('BOX_INFORMATION_YOUR_PAGE', 'My Page');

 

then in the information box:

'<a href="' . tep_href_link(FILENAME_YOUR_PAGE) . '">' . BOX_INFORMATION_YOUR_PAGE . '</a><br>' .

notice the last link in the array has the ; at the end.

My Contributions

 

Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly

Password Protect Admin

"No matter where you go....There you are" - Buccaroo Bonsai

Archived

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

×
×
  • Create New...