nycreal Posted January 4, 2006 Share Posted January 4, 2006 I just installed the Category Description contrib and it works perfectly. However, I would also like to add the description below the category links in the Category box. I have no knowledge of PHP but I tried duplicating how the code works from catalog/index.php (where it displays Page heading and Category description on the category listing page) into boxes/categories.php but it didnt work. Seems like a reasonable solution, what am I missing? $category_query = tep_db_query("select cd.categories_name, cd.categories_heading_title, cd.categories_description, c.categories_image from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = '" . (int)$current_category_id . "' and cd.categories_id = '" . (int)$current_category_id . "' and cd.language_id = '" . (int)$languages_id . "'"); $category = tep_db_fetch_array($category_query); $categories_string .= '<br>' . $category['categories_description'] . '<br>'; That's what I have so far in boxes/categories.php. The additions were made around line 57. Any help would be appreciated! Thanks! -alex Quote Link to comment Share on other sites More sharing options...
nycreal Posted January 5, 2006 Author Share Posted January 5, 2006 bump Quote Link to comment Share on other sites More sharing options...
nycreal Posted January 6, 2006 Author Share Posted January 6, 2006 wow cant get any help on this huh? Quote Link to comment Share on other sites More sharing options...
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.