Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

adding links to info box


Guest

Recommended Posts

Posted

hello,

 

i have followed these instructions to a t in order to add a link withing the Information side box.

 

go here to see instructions

 

now it does not work for me at all, but i do know that the file called catalog/includes/filenames.php is not the same in my version of osc.

 

for me, i change the file names in a file called inlcudes/appliction_top.php

 

so the first step i changed and added it application_top.php not filename.php

 

 

is this where the mistake is occurring?

 

please help.

Posted

It is hard to say because you do not tell us exactly what the problem is - is it just a dead link, or do you have errors generated?

 

The most likely cause of the latter (parse error) is in adding the link in boxes/information.php - the last line *must* finish with );

 

You must be sure that the line previous no longer has a bracket an colon, like this:

 

'<a href="' . tep_href_link(FILENAME_SHIPPING, '', 'NONSSL') . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_PRIVACY, '', 'NONSSL') . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_CONDITIONS, '', 'NONSSL') . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_CONTACT_US, '', 'NONSSL') . '">' . BOX_INFORMATION_CONTACT . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_ABOUT_US, '', 'NONSSL') . '">' . BOX_INFORMATION_ABOUT_US . '</a>'
);

Posted

thanks johnson,

 

now it works fine. the problem i was having before was that the Information Box was not showing up at all.

 

Now it is there with the About Us link.

 

but unfortunatly there is another problem... no text is showing up.

 

this is the code for the languages > english > about_us.php :

 

<?php

/*

$Id: shipping.php,v 1.1.1.1 2002/11/28 23:22:07 wilt Exp $

 

The Exchange Project - Community Made Shopping!

http://www.theexchangeproject.org

 

Copyright © 2000,2001 The Exchange Project

 

Released under the GNU General Public License

*/

 

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

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

 

define('TEXT_INFORMATION', 'OUR ABOUT US TEXT GOES HERE.');

 

 

?>

Posted

can someone help me with this one, i still have not figured out a soulution.

 

i have added a link to the information box called about us, and it shows up fine. even when i click on the link it goes to the About Us page that i created, but the text does not show up.

 

any ideas?

 

thank you.

Archived

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

×
×
  • Create New...