Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New Product Desc. Box Width


Guest

Recommended Posts

When I go to enter a new product in the admin section the product description box is one character wide. This only happens when I am using IE but if I am in Firefox then its normal looking. I went and looked at the code for admin/categories.php and it looks like this:

 

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

 

the 'soft', '90', '15' is the part that creates the box. If I change these values they change in Firefox as they should but IE still displays it as one character wide.

 

Has anyone else had this problem? How can I fix it so it works on both?

 

Also I tried using the original categories.php file that came stock and it does the same thing so I can't even revert to an older version. Any ideas?

Link to comment
Share on other sites

It is in the admin section where you enter products into your online catalog. So I can't really show you the page. Here is a screenshot though of what is going on.

 

skinny.gif

 

Thanks

Link to comment
Share on other sites

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

 

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

 

Not that this may have anything to do with your issue, but I just went through and made all the most recent updates to osc for myself. The bold bit above was one of them and there are plenty of others in the update txt file, including weeny bug fixes. If you haven't updated, perhaps you could do that and then see if your issue is resolved. I see the same admin view in IE and FireFox so I can't duplicate your skinny text box :(

 

Sorry I couldn't be more helpful.

 

jon

It's all just ones and zeros....

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...