Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Text field instead of input field


berthz

Recommended Posts

Posted

I have a question. Is it possible to change an input field into a text field with FCK functions added to it? I installed the extra product fields contribution, but it uses input fields instead of text fields.

 

I now have this code:

 

<td class="main"><?php echo $m . ' ' . tep_draw_input_field("extra_field[".$extra_fields['products_extra_fields_id']."]", $pInfo->extra_field[$extra_fields['products_extra_fields_id']]); ?></td>

 

and somehow I have to put it into this code:

 

<td class="main"><?php echo tep_draw_fckeditor('products_description[' . $languages[$i]['id'] . ']','600','300',(isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : tep_get_products_description($pInfo->products_id, $languages[$i]['id']))); ?></td>

 

Thanks in advance.

Archived

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

×
×
  • Create New...