Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Categories InfoBox


glennmuk

Recommended Posts

Hi there

 

I want to remove the header from the Categories InfoBox but I can't figure out where it is in the code to remove it.

 

I dont want to remove all infobox headers at this stage but only this one for now.

 

Any advice?

 

I have been able to remove the text to remove the name but it then just leaves me with a box that i cant seem to get rid of.....

Link to comment
Share on other sites

/catalog/includes/boxes/categories.php

 

Change this code:

 

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

 new infoBoxHeading($info_box_contents, true, false);

To:

 

//  $info_box_contents[] = array('text' => BOX_HEADING_CATEGORIES);

//  new infoBoxHeading($info_box_contents, true, false);

It's a good idea to backup any file before making any edits.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...