KJ666 Posted November 1, 2009 Posted November 1, 2009 I want to be able to remove a category name from the categories list but still be able to get to the page via a link in a nav bar im making ?? How can i do this ?
spooks Posted November 1, 2009 Posted November 1, 2009 I want to be able to remove a category name from the categories list but still be able to get to the page via a link in a nav bar im making ?? How can i do this ? Hide Categories & Products http://addons.oscommerce.com/info/5907 Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
KJ666 Posted November 1, 2009 Author Posted November 1, 2009 That did the trick thanks, one more question though is on that one category i want to remove the left hand column, any ideas ?? I know i should use a else fuction im thinking in catalog/product_info.php but not sure what to put ? Maybe somthing like: <?php if ($cPath_array[0]==21){ include(DIR_WS_INCLUDES . );} else{ require(DIR_WS_INCLUDES . 'column_left.php'); ?> Somthing like that anyway :S
burt Posted November 2, 2009 Posted November 2, 2009 if ($current_category_id != 21) require(DIR_WS_INCLUDES . 'column_left.php');
KJ666 Posted November 2, 2009 Author Posted November 2, 2009 Ok that leaves me with the gap still there, how do i get round that ?? Also i editted it in product_info.php, but that just the product where do i edit for the category list of products ?? EDIT: found that in index.php but with the same code below? <td class="left-column" width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- left_navigation //--><?php if ($current_category_id != 21) require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> </table></td>
KJ666 Posted November 3, 2009 Author Posted November 3, 2009 Hide Categories & Products http://addons.oscommerce.com/info/5907 Ok i have just noticed another problem with this now, i would like it to still show the sub-categorys as i have a link in my nav bar to the main category, and then want it to show the sub-categorys how could i do this ?
KJ666 Posted November 4, 2009 Author Posted November 4, 2009 Anyone for help with these two problems ?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.