Great Templates

FEATURED WEB TEMPLATES

Amazon Books

Learn PHP

PHP Training
Zend Cert Training Zend Certified Engineer Zend PHP Pro

Configuring OsCommerce - OsCommerce Edit Left And Right Columns

The left or right side column can be removed entirely from the site layout design by removing the appropriate HTML and PHP code from all files that display a page in the osCommerce installation. All files that display a page in the osCommerce installation contain the following HTML and PHP code

In this example we will explain how to remove the manufactures box and the quick find box from the left column.

Step 1

Remember that if editing a file through your admin panel , you must first set permissions on the file to make it writable (777).You can do this via your FTP client. Do the following procedure.

Select Catalog → Include → right click column_left.php → select CHMOD → change to 777 → save.

Step 2

Open admin end → Select Languages → Details → file manager → Includes → column_left.php → edit

Step 3

Now we can see the php script and if you wish you can remove the entire code. Alternatively , you can just command out the codes. This will allow you to easily restore them in future. Command out the following codes using "//".

To remove the manufacturer box command out the following codes.

// include (DIR_WS_BOXES . \'manufacturers.php\');

To remove quick find command out the following code.

//require(DIR_WE_BOXES . \'search.php\'); and save the file.

Step 4

You can go back and verify to see, the boxes no longer display in the left column. Feel free to customize the contents of your left and right columns. This includes moving items around (eg.,copy/paste from left to right columns).


 


Learn PHP | Zend Certified Engineer | Zend PHP Pro | PHP Web Apps | Web Hosting Service | Low Cost Domain Names | Great Templates | Great Books | Testimonials | Tech.Articles | TOS | AUS | Home | Linux Apache MySQL PHP