Book Image

Deep Inside osCommerce: The Cookbook

By : Monika Mathe
Book Image

Deep Inside osCommerce: The Cookbook

By: Monika Mathe

Overview of this book

osCommerce has been around since March 2000. At present there are over 10,000 live, registered osCommerce sites, and about 100,000 registered community members. Apart from providing ready-made solutions to problems, as well as a huge repository of information, the osCommerce community is a living entity with which we can all interact. With the rising success and popularity of this remarkable piece of software, things can only get better.
Table of Contents (17 chapters)
Deep Inside osCommerce: The Cookbook
Credits
Foreword
About the Author
About the Reviewers
Introduction

8. Make Your Infobox Header Taller


This recipe shows you how to add height and impact to your infobox header while keeping the rounded colored images as infobox corners. This is extremely nice when you start playing with color and want to use a bit more of it on your page in well-defined spots. As you will be changing the box class used by all infoboxes, this modification will affect all infoboxes calling the class infobox. In a default osCommerce installation, all boxes in the left and right columns will be affected.

Presentation

Your infoboxes will look like those in the following screenshot:

If your infoboxes have been waiting for that extra height all along, it's time to roll the dough for puff pastry!

Ingredients

Note

Modified:

catalog/includes/classes/boxes.php

Cooking

  1. 1. Open catalog/includes/classes/boxes.php and find the following in line 121:

$info_box_contents[] = array(array('params' => 'height="14"
class="infoBoxHeading"','text' => $left_corner),
array('params' => ...