Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

A quick question about adding a link to information.php


Tsuri Japan

Recommended Posts

I want to add the WISHLIST FAQ to my inoformation links on the bottom left.........

 

Do I just have to load the wishlisthelp.php file to my catalog/includes/boxes area then in the information.php file add some code like this?

 

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

 

Thanks,

 

Nigelman :)

Link to comment
Share on other sites

Ok so I've put the file in the correct location and have added the link information in the information.php file but after adding it, it says

 

Privacy Notice

BOX_WISHLIST_HELP

Contact Us

 

here's the code I'm using:

 

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

 

'<a href="' . tep_href_link(FILENAME_WISHLIST_HELP) . '">' . BOX_WISHLIST_HELP . '</a><br>' .

 

'<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>'

 

Is there something I need to know to having the text the look perfect?

 

Thanks,

 

Nigelman :thumbsup:

Link to comment
Share on other sites

Ok so I've put the file in the correct location and have added the link information in the information.php file but after adding it, it says

 

Privacy Notice

BOX_WISHLIST_HELP

Contact Us

 

here's the code I'm using:

 

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

 

'<a href="' . tep_href_link(FILENAME_WISHLIST_HELP) . '">' . BOX_WISHLIST_HELP . '</a><br>' .

 

'<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>'

 

Is there something I need to know to having the text the look perfect?

 

Thanks,

 

Nigelman :thumbsup:

 

ok go to (catalog)/includes/languages/english.php and add this in that file

 

define('BOX_WISHLIST_HELP', 'Wish List Help');

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Link to comment
Share on other sites

First, where you have BOX_WISHLIST_HELP you should have BOX_INFORMATION_WISHLIST_HELP. You are missing the INFORMATION (assuming that is the box you are putting it in).

 

Then you need to go to catalog/includes/languages/english.php and add the following define statement in the information.php box text area (you should see the same for PRIVACY and CONTACT_US)...

 

define('BOX_INFORMATION_WISHLIST_HELP', 'Wishlist Help');

 

 

Hope that helps.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...