Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Bulleting or making the catagory list more readabl


bigbadshoppingcarts

Recommended Posts

hi all ive recently setup my cart and all is running well, slowly adding to my products and catagories but now i am finding that the catagory list on the left is getting a bit full and unreadable aswell as not being easy to understand

 

can anyone give idead of maybe bulliting or adding arrows to each catagory or even a new way to make this look better, or even a box around each catagory.

 

to see what i am meaning visit the site at www.abbeycomputer.net/catalog

 

thanks for any help in advace

Link to comment
Share on other sites

  • 1 month later...

This is what I did to my site to add bullets to my categories and make it more readable, you can see my page at www.nutrition-u-trust.net/index.php. It is not completed at this time but will be shortly hopefully.

 

I edited catalog/includes/boxes/categories.php

 

I first added this comment to get the bullets.(very near the top)

 

(first find the below statement)

 

function tep_show_category($counter) {

global $tree, $categories_string, $cPath_array;

 

(right under the above statement add this)

 

$categories_string .= '<li>';

 

(I then found this statement)

 

if (isset($cPath_array) && in_array($counter, $cPath_array)) {

$categories_string .= '<b>';

}

 

-> I added a * right after the <br> so it should say ='<b>*';

 

(then I added a * in the same place in this statement)

 

if (isset($cPath_array) && in_array($counter, $cPath_array)) {

$categories_string .= '</b>';

}

-> so it reads ='</b>*;

 

(I also put 2 extra   in this statement)

 

for ($i=0; $i<$tree[$counter]['level']; $i++) {

$categories_string .= "  ";

}

 

-> so it reads .= "    ";

 

cheers all...

 

P.S. you may want to make your left_column boxes wider when you do this.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...