rockmansattic Posted March 11, 2004 Share Posted March 11, 2004 I am trying to have a description of each category above the list of the products but am having no luck. Is there any way to do this dynamically? Thanks Link to comment Share on other sites More sharing options...
TomThumb Posted March 11, 2004 Share Posted March 11, 2004 Are you storing the category description in the database? while (!succeed) {try()}; GMT -6:00 Link to comment Share on other sites More sharing options...
rockmansattic Posted March 11, 2004 Author Share Posted March 11, 2004 Not that I know of. I am new to oscommerce and just trying to figure things out. Almost everything is setup normal, with few changes by me. Is there a field in the database for the category discription? Thanks Link to comment Share on other sites More sharing options...
fuzzatonic Posted March 11, 2004 Share Posted March 11, 2004 Here is what I do and it seems to work well. The h1 tag is optional. echo '<h1>' . tep_get_categories_name($current_category_id) . '</h1>'; Link to comment Share on other sites More sharing options...
rockmansattic Posted March 11, 2004 Author Share Posted March 11, 2004 Thank you, I will try this tonight. Will this allow me to create a long discription of the category, or does this put the category name at the top? (which is also usefull to me) Thanks Link to comment Share on other sites More sharing options...
rockmansattic Posted March 12, 2004 Author Share Posted March 12, 2004 Thanks but I cant seen to get this code to work. I have reduced it to tep_get_categories_name($current_category_id) and it actually shuts the page down. Any ideas? thanks Link to comment Share on other sites More sharing options...
TomThumb Posted March 12, 2004 Share Posted March 12, 2004 Look at this How to Display Category Name while (!succeed) {try()}; GMT -6:00 Link to comment Share on other sites More sharing options...
ozcsys Posted March 12, 2004 Share Posted March 12, 2004 I am trying to have a description of each category above the list of the products but am having no luck. Is there any way to do this dynamically? Thanks look in this thread about 4 posts down answer The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right?? Link to comment Share on other sites More sharing options...
rockmansattic Posted March 12, 2004 Author Share Posted March 12, 2004 Thanks, But I need to display a description of the category not just the name. Is this possible? Link to comment Share on other sites More sharing options...
TomThumb Posted March 12, 2004 Share Posted March 12, 2004 It will require some development. I have a new project that I think will need it. I might have something ready in the next week or two. while (!succeed) {try()}; GMT -6:00 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.