Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I change the layout of index.php?


aladdin

Recommended Posts

Posted

as a graphic designer with limited skills in coding ....

-------

1. how do I remove unnecessary boxes from the index.php layout (which file + how?). Also, if I have a ready-made layout for the page in dreamweaver, how do I get it working ?

--------

2. How to change the layout/graphics for the product listings

-------

thanks!

Posted
as a graphic designer with limited skills in coding ....

-------

1. how do I remove unnecessary boxes from the index.php layout (which file + how?). Also, if I have a ready-made layout for the page in dreamweaver, how do I get it working ?

--------

2. How to change the layout/graphics for the product listings

-------

thanks!

 

Well to answer question 1: I assume that you mean the info boxes such as categories, information, quick find, etc. You can remove or add these boxes by editing the files column_right.php and column_left.php. You will see lines like:

 

require(DIR_WS_BOXES . 'whats_new.php');

 

You can get rid of the unwanted boxes by deleting these lines or commenting them out with // so:

 

//require(DIR_WS_BOXES . 'whats_new.php');

 

If you have create a page with dreamweaver that you want for the index page, I would recommend copying the lines of code between the:

<body> and </body> tags and then pasting that code into index.php at around line 284 you will see

 

} else { // default page

 

after this, paste your code, you will have to remove some of the code thats already there and edit some of you code to make it look right, however there isn't really a simple way of doing it unless you know how HTML works.

 

Hope this give you some direction.

osCommerce is a great piece of software with wonderful contributions.

Spend some time in the contribution area. There are a lot of gems there.

Archived

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

×
×
  • Create New...