Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Infobox link problem


Sardonic76

Recommended Posts

Hello!

I've obviously done something silly somewhere, but I don't know where.

 

In the left column information box there are 4 links.

They all work apart from the 1st one which brings up an error page:

"The requested URL /FILENAME_ABOUT_US was not found on this server."

 

Any ideas what I need to change so as to get a link to the right file?

Link to comment
Share on other sites

Hello!

I've obviously done something silly somewhere, but I don't know where.

 

In the left column information box there are 4 links.

They all work apart from the 1st one which brings up an error page:

"The requested URL /FILENAME_ABOUT_US was not found on this server."

 

Any ideas what I need to change so as to get a link to the right file?

 

 

Post your code please.

-----------------------------------------------------------------------------

Adam

 

Get your osc documentation here:

http://www.oscommerce.info/

Link to comment
Share on other sites

erm... not quite sure which code you want, but hey!

Here's the site: site

 

Here's the code from the information info box:

<?php
/*
 $Id: information.php,v 1.6 2003/02/10 22:31:00 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/
?>
<!-- information //-->
         <tr>
           <td><div id="leftright">
<?php
 $info_box_contents = array();
 $info_box_contents[] = array('text' => BOX_HEADING_INFORMATION);

 new infoBoxHeading($info_box_contents, false, false);

 $info_box_contents = array();
 $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_ABOUT_US) . '">' . BOX_INFORMATION_ABOUT_US . '</a><br>' .
                                        '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' .
                                        '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' .
                                        '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>');

 new infoBox($info_box_contents);
?>
           </div></td>
         </tr>
<!-- information_eof //-->

 

Is that what you were asking for?

Link to comment
Share on other sites

1. In catalog/includes/languages/english.php, find....

 

// information box text in includes/boxes/information.php

 

and add your info for ABOUT_US.

 

2. In catalog/includes/filenames.php make the appropriate entry for your ABOUT_US file.

 

 

That should get you on the right track. I ahven't looked at the code for ABOUT_US so I don't know if some editing has to be done there.

-----------------------------------------------------------------------------

Adam

 

Get your osc documentation here:

http://www.oscommerce.info/

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...