Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing the order of the left hand boxes


boosy90

Recommended Posts

Hello

 

I am having some trouble changing the order of the boxes on the lefthand side of my page. I did a search and the only thing I found was to change the order of the "require" boxes in includes/column_left.php. I can change the order all I want but the boxes never move on the page. I even did a shift refresh so that I was not looking at an old page.

 

Any help would be great

Link to comment
Share on other sites

I even did a shift refresh so that I was not looking at an old page.

As far as I know, you hold the <Ctrl> key down while doing a page refresh.

 

That forces the browser to reload from the server.

 

At least is works with IE and Firefox.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Just change the order in the code (I tried it , it works). Like this:

 

if ((USE_CACHE == 'true') && empty($SID)) {
   echo tep_cache_manufacturers_box();
 } else {
   include(DIR_WS_BOXES . 'manufacturers.php');
 }

 if ((USE_CACHE == 'true') && empty($SID)) {
   echo tep_cache_categories_box();
 } else {
   include(DIR_WS_BOXES . 'categories.php');
 }

 require(DIR_WS_BOXES . 'whats_new.php');
 require(DIR_WS_BOXES . 'search.php');
 require(DIR_WS_BOXES . 'information.php');

Link to comment
Share on other sites

I use sts templates could this be the cause. I can go to the file catalog/includes/column_left.php and remove one line and the box does not disappear. I can move the lines and nothing on the page changes.

 

Hmm I have no idea why

Link to comment
Share on other sites

I can move the lines and nothing on the page changes.

 

Hmm I have no idea why

You already answered your own question.

 

I use sts templates

Find the STS support thread and post in it.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...