RE: Is it possible?

Japes <[email protected]> 12 Sep 2003 07:58:53 -0000
Newsgroups gmane.comp.web.oscommerce.installation
Message-ID <4ac4808a5e0639eb2d0fd425e11f2813@osCommerce-Forums>
This message was sent from: Installation and Configuration
http://forums.oscommerce.com/viewtopic.php?p=228285#228285
----------------------------------------------------------------

Hi Christian,

Thanks for the info. I've added the new field, 'more_info' to the table, 'products_description' within phpmyadmin, and I've duplicated the field within categories.php, but if you look at the following snippet, I'm not sure where my new field name should appear. It's confusing because, both the table and the field I've duplicated are called 'products_description'. I tried changing all instances of 'products_description' to 'more_info', but that gave me an error, as I'm sure you can understand.

[code]<?php echo tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '15', (isset($products_description[$languages[$i]['id']]) ? $products_description[$languages[$i]['id']] : tep_get_products_description($pInfo->products_id, $languages[$i]['id']))); ?>[/code]

Also, within product_info.php, how do I go about calling upon the information from 'more_info'. Ideally, I'd like to place a link that says 'more info' and have that trigger a popup. I suspect the popup will contain a new php file I'll have to create for more_info.

Thanks again. I appreciate your help, and I invite anyone to jump in and relieve Christian if you know the answers to my questions.

Cheers