Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Information box problem


Guest

Recommended Posts

Hi

 

Have installed and edited all the relvant pages for the information ox in relation to print catalog and add a new page - trying to add an about us page.

 

But despite following instructions the new links will not appear in the information box

 

Any clues? Or am I having a blonde moment?

 

Moon Maiden

Link to comment
Share on other sites

There could be a number of reasons - hard to say without seeing your box code.

 

It is possible that your file permissions do not allow an overwrite (even though it may appear that the file is uploading) - try renaming the file that is on your server before uploading the new.

 

Matti

Link to comment
Share on other sites

are you receiving a parse error, as a common mistake is to just add a link to the end of the llist of links but forget to move the ); to the last link.

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

post your box code

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

<!-- information //-->
         <tr>
           <td>
<?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_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' .
                                        '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</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><br>');
                                        '<a href="' . tep_href_link(FILENAME_ABOUT_US, '', 'NONSSL') . '">' . BOX_INFORMATION_ABOUT_US . '</a><br>' .
                        

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

 

there ya go

Link to comment
Share on other sites

It is as I suspected the ); is in the wrong place try this

<!-- information //-->
        <tr>
          <td>
<?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_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' .
                                       '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</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><br>' .
                                       '<a href="' . tep_href_link(FILENAME_ABOUT_US, '', 'NONSSL') . '">' . BOX_INFORMATION_ABOUT_US . '</a>');
                       

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

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...