Latest News: (loading..)

nathan_

Members
  • Content count

    11
  • Joined

  • Last visited

About nathan_

Profile Information

  • Real Name
    Nathan
  1. Here is how my wholesaler does his shipping, seems simple to figure it out but Im not having any luck :blush: http://www.wmsclothing.com/cgi-bin/categor...egory=shiprates
  2. Back to top, Im also looking for the same thing .. :blink:
  3. Heres a pic of the structure with in the ADMIN panel, The website, I do have items in both sub categories
  4. I can not get the subcategories to show up on any of my pages, not sure what Im missing.. Thanks in advance for your help guys ! <?php if (isset($cPath) && strpos('_', $cPath)) { // check to see if there are deeper categories within the current category $category_links = array_reverse($cPath_array); for($i=0, $n=sizeof($category_links); $i<$n; $i++) { $categories_query = tep_db_query("select count(*) as total from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$category_links[$i] . "' and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "'"); $categories = tep_db_fetch_array($categories_query); if ($categories['total'] < 1) { // do nothing, go through the loop } else { $categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$category_links[$i] . "' and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' order by sort_order, cd.categories_name"); break; // we've found the deepest category the customer is in } } } else { $categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$current_category_id . "' and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' order by sort_order, cd.categories_name"); } $number_of_categories = tep_db_num_rows($categories_query); $rows = 0; while ($categories = tep_db_fetch_array($categories_query)) { $p_pic_sub = '<a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . tep_image(DIR_WS_IMAGES . $categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '</a>'; $p_name_sub = '<a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . $categories['categories_name'] . '</a>'; $rows++; $cPath_new = tep_get_path($categories['categories_id']); $width = (int)(100 / MAX_DISPLAY_CATEGORIES_PER_ROW) . '%'; echo ' <td align="center" width="' . $width . '"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td style="height:16px " align="center" class="vam"><span>'.$p_name_sub.'</span></td> </tr> <tr> <td style="height:95px " align="center" class="pic" >'.tep_draw_prod_pic_top().''.$p_pic_sub.''.tep_draw_prod_pic_bottom().'</td> </tr> </table> </td> ' . "\n"; if ($col!=(MAX_DISPLAY_CATEGORIES_PER_ROW-1)){ echo ' <td class="bg_line_y">'.tep_draw_separator('spacer.gif', '1', '1').'</td> '; } else{ if ((($rows / MAX_DISPLAY_CATEGORIES_PER_ROW) == floor($rows / MAX_DISPLAY_CATEGORIES_PER_ROW)) && ($rows != $number_of_categories)) { echo ' </tr><tr><td class="bg_line_x" colspan="'.(MAX_DISPLAY_CATEGORIES_PER_ROW + MAX_DISPLAY_CATEGORIES_PER_ROW -1).'">'.tep_draw_separator('spacer.gif', '1', '10').'</td></tr>' . "\n"; echo ' <tr>' . "\n"; } } if ($col==MAX_DISPLAY_CATEGORIES_PER_ROW-1){ $col=0; }else{ $col++; } } // needed for the new products module shown below $new_products_category_id = $current_category_id; ?> </table>
  5. Aww yes.. I found the issue.. I made changes to the .htacsess file, but left it in the ADMIN directory. I copied it to the main directory and now it works great ! Thanks !
  6. Aww yes.. I found the issue.. I made changes to the .htacsess file, but left it in the ADMIN directory. I copied it to the main directory and now it works great ! Thanks !
  7. I installed the NIMMIT:SEF v0.4 but Im missing something or did something wrong.. I did what the instructions stated (so I think) My website now has all the links looking in the right direction, but there is no file there.. example "http://www.derbydresser.com/category/Sexy+Stockings.html" but there is no category folder and its now requestion index.html & all my files are .PHP Im thinking its my .htaccess where I messed up ..