fotografico Posted February 22, 2004 Posted February 22, 2004 I need to add a couple of lines of text on my category pages, before the users can get to the sub-categories and see the goodies. At the moment my category page just lists the subcategory pages, but I need to add some text underneath it. If anyone has any pointers I would be really grateful, you may just save my Sunday ! http://www.mexicofotografico.com/catalog/index.php?cPath=44
241 Posted February 22, 2004 Posted February 22, 2004 There is a contribution for categories with descriptions try a search of the contributions No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
fotografico Posted February 23, 2004 Author Posted February 23, 2004 Thanks for the suggestion. I used a contribution called Category Description 1.6, and it seems to be working. But I can't change the font or font size for what is now called my category heading title (eg Productive Actvities), and I can't change the category image (in my admin section, it just says "category image", and won't let me upload anything else. Please see : http://www.mexicofotografico.com/catalog/index.php?cPath=44 As regards the heading title, I suppose there must be something I have to add to a stylesheet ? If anyone has any ideas on how I can remedy this I would be really grateful. OS Commerce - always a work in progress !!
fotografico Posted February 23, 2004 Author Posted February 23, 2004 This is the text below which is tripping me up I think, when I can't specify a category image - in the admin tool, all the time, it just says "categories_image". Can anyone see where the problem is here - I just want to be able to browse and specify the jpgs for the category image in the admin tool. Thanks in advance to anyone that can help us out !! date_added) ? $cInfo->date_added : date('Y-m-d'))) . tep_draw_hidden_field('parent_id', $cInfo->parent_id) . tep_image_submit('button_preview.gif', IMAGE_PREVIEW) . ' ' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . ''; ?> categories_image; } $form_action = ($HTTP_GET_VARS['cID']) ? 'update_category' : 'insert_category'; echo tep_draw_form($form_action, FILENAME_CATEGORIES, 'cPath=' . $cPath . '&cID=' . $HTTP_GET_VARS['cID'] . '&action=' . $form_action, 'post', 'enctype="multipart/form-data"'); $languages = tep_get_languages(); for ($i=0; $icategories_name = tep_get_category_name($cInfo->categories_id, $languages[$i]['id']); $cInfo->categories_heading_title = tep_get_category_heading_title($cInfo->categories_id, $languages[$i]['id']); $cInfo->categories_description = tep_get_category_description($cInfo->categories_id, $languages[$i]['id']); } else { $cInfo->categories_name = tep_db_prepare_input($categories_name[$languages[$i]['id']]); $cInfo->categories_heading_title = tep_db_prepare_input($categories_heading_title[$languages[$i]['id']]); $cInfo->categories_description = tep_db_prepare_input($categories_description[$languages[$i]['id']]); } ?> categories_heading_title; ?> categories_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'align="right" hspace="5" vspace="5"') . $cInfo->categories_description; ?> categories_id; } ?> <?php }
Recommended Posts
Archived
This topic is now archived and is closed to further replies.