Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change the homepage


thumba

Recommended Posts

Hello,

 

I am working on my shop with osc 2.3.1, and I would complitely change the homepage. I would have only the ContentContainer with a photo inside, no columns left and right.

 

I have found a solution for the version 2.2 but not working with the 2.3

 

The code I've found :

 

CODE

<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>

 

Change with :

<?php require(DIR_WS_INCLUDES . 'column_left_index.php'); ?>

 

 

- In "catalog\include\column_left_index.php",

Change :

CODE if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_categories_box();

} else {

include(DIR_WS_BOXES . 'categories.php');

}

 

With :

CODE if ($cPath<>"" || $manufacturers['manufacturers_name']<>"") {

if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_categories_box();

} else {

include(DIR_WS_BOXES . 'categories.php');

}

}

 

 

Any idea ?

 

Thanks,

 

Thumba.

Link to comment
Share on other sites

Hello,

 

Thanks Chris for your link. In fact I have changed many files on my site : css, I'm gone to 960gs site to modify the dimensions...

 

I will try to install Dynamic Template System for osc 2.3 !

 

Thumba.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...