[Done v1.3.9a] Option Values - Editing in Admin doesn't display whole value
Hi,
I have a problem in Admin when editing Option Values, it doesn't display the whole 'value' it cuts off the last few characters. The whole 'value' is there if the editing is cancelled or saved.
I need the whole value to be displayed when editing too.
Attached is a screen print of what I mean - I have, as you can see, been able to increase the size of the field in options_values_manager.php and have also increased the table products_options_values_name in phpmyadmin. But it hasn't helped. The last few characters are still missing when I edit.
http://www.webmadness.co.uk/atrributedisplay.jpg
Any ideas please?
Many thanks
Claire
Re: Option Values - Editing in Admin doesn't display whole value
Edit the file:
/admin/options_values_manager.php
and try changing the line:
Code:
$inputs .= $languages[$i]['code'] . ': <input type="text" name="value_name[' . $languages[$i]['id'] . ']" ' . zen_set_field_length(TABLE_PRODUCTS_OPTIONS_VALUES, 'products_options_values_name', 25) . ' value="' . $value_name->fields['products_options_values_name'] . '"> <br />';
to read:
Code:
$inputs .= $languages[$i]['code'] . ': <input type="text" name="value_name[' . $languages[$i]['id'] . ']" ' . zen_set_field_length(TABLE_PRODUCTS_OPTIONS_VALUES, 'products_options_values_name', 25) . ' value="' . zen_output_string($value_name->fields['products_options_values_name']) . '"> <br />';
and let us know if that helps you with this ...
Re: Option Values - Editing in Admin doesn't display whole value
Fabulous, it works!
You are a star!
Thank you very very much.
Claire :clap:
Re: Option Values - Editing in Admin doesn't display whole value
Thanks for the update that this works for you ... moving to the BugFixes forum ... :smile: