Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add a extra link in the categories box how?


keoga

Recommended Posts

Hi all!

 

Could somebody tell me how to add a link in the categories box below all other categories links?

 

This is the link, but I dont know where to place it in includes/boxes/categories.php

 

'<a href="' . tep_href_link(FILENAME_ALLMANUFACTURERS, '', 'NONSSL') . '">' . BOX_INFORMATION_ALLMANUFACTURERS . '</a><br><br>' .

 

 

 

Help appreciated

 

Thankyou!

Link to comment
Share on other sites

catalog/includes/boxes/categories.php

 

at the end of the file

 

 ?$info_box_contents = array();
?$info_box_contents[] = array('text' => $categories_string);

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

 

replace with this

 

 ?$info_box_contents = array();
?$info_box_contents[] = array('text' => $categories_string);

?$info_box_contents[] = array('align' => 'center',
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 'text' => '<br><a href="' . tep_href_link(FILENAME_ALLMANUFACTURERS, '', 'NONSSL') . '">' . BOX_INFORMATION_ALLMANUFACTURERS . '</a>');
?new infoBox($info_box_contents);
?>
? ? ? ? ? ?</td>
? ? ? ? ?</tr>
<!-- categories_eof //-->

or with this

  $info_box_contents = array();
 $info_box_contents[] = array('text' => $categories_string . '<br><a href="' . tep_href_link(FILENAME_ALLMANUFACTURERS, '', 'NONSSL') . '">' . BOX_INFORMATION_ALLMANUFACTURERS . '</a>');
 new infoBox($info_box_contents);
?>
           </td>
         </tr>
<!-- categories_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

Archived

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

×
×
  • Create New...