Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help with InfoBoxes for Allprods contribution


Huy

Recommended Posts

I added the contribution, but having a slight problem. I am able to insert the link so that it calls up allprods.php in my 'Information' box, but can't get it to show up in my 'Categories' box.

 

I edited information.php with this:

 

find:

 

new infoBox($info_box_contents);

 

and replace with:

 

$info_box_contents[] = array('align' => 'center',

'text' => '<font size=-2><a href="' . tep_href_link(FILENAME_ALLPRODS, '', 'NONSSL') . '">' . BOX_INFORMATION_ALLPRODS . '</a></font>');

 

new infoBox($info_box_contents);

 

I then attempted to do this for categories.php instead of information.php but it doesn't seem to work. I've done the exact same find/replace...but no results. Should I be replacing something else?

Link to comment
Share on other sites

I fixed my problem. Basically, I just did the same thing that I did for the information box to add a llink, but I had to clear my cache for the categories box in admin. The link showed up in the categories box after this.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...