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

11. Add Extra Images to Your Columns without Framing Boxes


There will be times when you'd like to add an image to your left or right column without an infobox. This could be the case for static banners leading to an external site, in which case it's best to save that image to your catalog/images folder (banners go to the subfolder banners), so you won't have to hide the box for secure pages to prevent a security alert. You may also want to link to your Contact or Shipping page to promote free shipping or a similar feature.

Presentation

This is how your screen will look when you add an image without a framing infobox and link the image to a sub-page of your own site, in this case contact_us.php:

Let's throw this one together fast!

Ingredients

Note

New:

catalog/includes/boxes/photo_nobox.php catalog/images/monika.jpg (replace with your own image)

Modified:

catalog/includes/column_right.php

Cooking

  1. 1. Create a new file catalog/includes/boxes/photo_nobox.php with the following code, and using...