gameyeeeah Posted April 5, 2007 Posted April 5, 2007 I Want to show the subcategories, how to do that? Like http://www.realhotstuff.com Thanks. Quote
HighVoltage123 Posted April 5, 2007 Posted April 5, 2007 I Want to show the subcategories, how to do that? Like http://www.realhotstuff.com Thanks. Why don't you just try to open the link with Modzilla FireFox Internet Browser and press <Ctrl>+<U> to open a widow with the source code of the page and there you'll find it! :lol: Quote
Guest Posted April 6, 2007 Posted April 6, 2007 I Want to show the subcategories, how to do that? Like http://www.realhotstuff.com Thanks. You need the Show-Subcategory Contribution: http://www.oscommerce.com/community/contributions,885 ENJOY :thumbsup: :-" Quote
gameyeeeah Posted April 6, 2007 Author Posted April 6, 2007 You need the Show-Subcategory Contribution:http://www.oscommerce.com/community/contributions,885 ENJOY :thumbsup: :-" Thanks, i have download the file and change some code, it's what i want now, hope this is no error. if (strstr($HTTP_GET_VARS['cPath'],'_'.$subcategories['categories_id'])) { $text_subcategories .= '' . '<div class="bottom_line" style="padding-left=10px">' . '<a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new_sub, 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . 'pointer_blue_light.gif', '') .'<span class="errorText"><b>'. $subcategories['categories_name'] . '</b></span></a></div>' . " "; } else { $text_subcategories .= '' . '<div class="bottom_line" style="padding-left=10px">' . '<a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new_sub, 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . 'pointer_blue_light.gif', '') . $subcategories['categories_name'] . '</a></div>' . " "; } } // if } // While Interno if ($HTTP_GET_VARS['cPath'] == $categories['categories_id']) { $info_box_contents[$row] = array('align' => 'left', 'params' => 'class="smallText" width="125" valign="top"', 'text' => '' . '<div class="bottom_line">' . ' <a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new, 'NONSSL') . '"><span class="errorText"><b>' . tep_image(DIR_WS_IMAGES . 'pointer_blue.gif', '') . $categories['categories_name'] . '</b></span></a></div>' . $text_subcategories); } else { $info_box_contents[$row] = array('align' => 'left', 'params' => 'class="smallText" width="125" valign="top"', 'text' => '' . '<div class="bottom_line">' . ' <a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new, 'NONSSL') . '"><b>' . tep_image(DIR_WS_IMAGES . 'pointer_blue.gif', '') . $categories['categories_name'] . '</b></a></div>' . $text_subcategories); } Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.