Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

php help


Guest

Recommended Posts

Posted

where's the end of this function?

  function tep_show_category($counter) {
   global $tree, $categories_string, $cPath_array;

   for ($i=0; $i<$tree[$counter]['level']; $i++) {
     $categories_string .= "<span class=selected>  ";
   }

 

 

where the &nb sp &nb sp is, i put a class to change the look of nested categories... where do i put the closing span for it, so the categories BENEATH the nested categories don't gett the same class as well?

Posted

The function ends just above the following:

 

<!-- categories //-->

 

The subcategories are returned by the tep_has_category_subcategories function (/includes/general.php) - you would need to recode this function to do what you wish - quite a challenge :D

 

Matti

Archived

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

×
×
  • Create New...