Jump to content

KuwaitMall

Members
  • Content count

    2
  • Joined

  • Last visited

Profile Information

  • Real Name
    Nouf A.
  1. KuwaitMall

    Quotes

    oh my dumbness i figured it out , had to change $categories to $row
  2. KuwaitMall

    Quotes

    Hi , Great contribution .. but i am having an issue here .. the category is visible for everyone! .. i figured it must be the include/box/categories.php modification .. i don't use the categories.php i use the dm_category.php i forgot which contribution is this :/ anyways i didn't find the line : while ($categories = tep_db_fetch_array($categories_query)) { but after revising the code in dm_catergory.php .. i guess this is the line needed to add after it $result = tep_db_query('select c.categories_id, cd.categories_name, c.parent_id from ' . TABLE_CATEGORIES . ' c, ' . TABLE_CATEGORIES_DESCRIPTION . ' cd where c.categories_id = cd.categories_id and c.categories_status = 1 and cd.language_id="' . (int)$languages_id .'" '.$parent_query.'order by sort_order, cd.categories_name'); while ($row = tep_db_fetch_array($result)) { so after it i added the lines /*** Begin Quotes ***/ if (strpos($categories['categories_name'], 'Quotes') !== FALSE) continue; /*** End Quotes ***/ but the category is still visible for everyone and i guess its confusing the customers.! so how can i hide it please?
×