Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding Links


cannabis

Recommended Posts

Posted

Hello

 

Is there anybody there to tell me how to add link to one of the boxes.(eq. information box).My shop is based on osCommerce 2.2-CVS.Which definitons do i need to do and where...

hi

Posted

The information box is constructed by includes/boxes/information.php. In there you'll find a list of the links that it displays, for example

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

The links in your information box are more than likely all internal to osCommerce so they use definitions such as FILENAME_PRIVACY, which is defined in includes/application_top.php as 'privacy.php'. If you want an external link just put in the full url instead. The text for the link, BOX_INFORMATION_PRIVACY, is defined in each of the language files, eg. includes/languages/english.php.

If you want lots of external links there is an excellent Links Manager contribution available that you might want to investigate ...

http://www.oscommerce.com/community/contri...ons,1256/page,9

Regards, Wizzud

"It is better to remain silent and be thought a fool, than to open your mouth and remove all doubt."

Archived

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

×
×
  • Create New...