Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to remove box headings?


Guest

Recommended Posts

Posted

I'd like to remove all the heading boxes as well as both the corners left and right... I suppose I must edit or uncomment some code from boxes.php

Can anyone help me out so I just delete the headings and not the content?

Thanks in advanced.

 

;)

Posted

In each of the files in the includes/boxes directory, you'll find three lines of code similar to the following:

 

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

new infoBoxHeading($info_box_contents, false, false);

 

Comment them out like this to remove the heading:

 

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

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

They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. ~ Benjamin Franklin, 1759. տլ

Posted

simple help like this can also be found at wiki.oscommerce.com

 

( I dont know why this is not plastered at the top of the fourms in big letters, my guess is oscommerce wants a community going)

 

digi

*Outlined in chalk everone looks the same*

 

Currently useing OSC 2.2 MS1

running on Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_jk/1.2.0 mod_perl/1.26 PHP/4.3.3 FrontPage/5.0.2 mod_ssl/2.8.12 OpenSSL/0.9.6b

Archived

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

×
×
  • Create New...