Guest Posted December 17, 2007 Posted December 17, 2007 When I add or edit new categories, my text box is so small I can't paste html in there. Does anyone know where I can change it to make it a larger box?
jonquil Posted December 17, 2007 Posted December 17, 2007 Hi, Open the file /admin/categories.php and search for "textarea_field". You'll see within those lines something like this: 'soft', '70', '5', jon It's all just ones and zeros....
Guest Posted December 17, 2007 Posted December 17, 2007 Hi, Open the file /admin/categories.php and search for "textarea_field". You'll see within those lines something like this: 'soft', '70', '5', jon That was close, it resized the text box for the actual product pages. I need to resize it for the category page. Any other ideas? Thanks, Mike A.
jonquil Posted December 18, 2007 Posted December 18, 2007 Can you tell me what version of osC you're using and which version of which Meta Tags Contribution? Using STS or no? Thanks :) It's all just ones and zeros....
Guest Posted January 7, 2008 Posted January 7, 2008 Can you tell me what version of osC you're using and which version of which Meta Tags Contribution? Using STS or no? Thanks :) How do I find out what version I'm using?
jonquil Posted January 7, 2008 Posted January 7, 2008 Be sure you have a backup of this file. Look for this in admin/categories.php: $category_htc_description_string .= '<br>' . tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . ' ' . tep_draw_textarea_field('categories_htc_description[' . $languages[$i]['id'] . ']', 'hard', 30, 5, tep_get_category_htc_description($cInfo->categories_id, $languages[$i]['id'])); Above this line (which may appear twice in this file), you'll find like lines. For example: $category_htc_title_string .= '<br>' . tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . ' ' . tep_draw_input_field('categories_htc_title_tag[' . $languages[$i]['id'] . ']', tep_get_category_htc_title($cInfo->categories_id, $languages[$i]['id'])); You want to change the input to textarea. You want to insert 'hard', 30, 5, to the same position so that... $category_htc_title_string .= '<br>' . tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . ' ' . tep_draw_input_field('categories_htc_title_tag[' . $languages[$i]['id'] . ']', tep_get_category_htc_title($cInfo->categories_id, $languages[$i]['id'])); ...becomes $category_htc_title_string .= '<br>' . tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . ' ' . tep_draw_textarea_field('categories_htc_title_tag[' . $languages[$i]['id'] . ']', 'hard', 30, 5, tep_get_category_htc_title($cInfo->categories_id, $languages[$i]['id'])); Let me know how you get on. jon It's all just ones and zeros....
Guest Posted January 7, 2008 Posted January 7, 2008 Be sure you have a backup of this file. Look for this in admin/categories.php: $category_htc_description_string .= '<br>' . tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . ' ' . tep_draw_textarea_field('categories_htc_description[' . $languages[$i]['id'] . ']', 'hard', 30, 5, tep_get_category_htc_description($cInfo->categories_id, $languages[$i]['id'])); Above this line (which may appear twice in this file), you'll find like lines. For example: $category_htc_title_string .= '<br>' . tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . ' ' . tep_draw_input_field('categories_htc_title_tag[' . $languages[$i]['id'] . ']', tep_get_category_htc_title($cInfo->categories_id, $languages[$i]['id'])); You want to change the input to textarea. You want to insert 'hard', 30, 5, to the same position so that... $category_htc_title_string .= '<br>' . tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . ' ' . tep_draw_input_field('categories_htc_title_tag[' . $languages[$i]['id'] . ']', tep_get_category_htc_title($cInfo->categories_id, $languages[$i]['id'])); ...becomes $category_htc_title_string .= '<br>' . tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . ' ' . tep_draw_textarea_field('categories_htc_title_tag[' . $languages[$i]['id'] . ']', 'hard', 30, 5, tep_get_category_htc_title($cInfo->categories_id, $languages[$i]['id'])); Let me know how you get on. jon Thanks for your time Jon. I was very close, my code looks a bit different. I was able to change it by just changingf "input field" to "textarea". I did get this error though: Missing argument 4 for tep_draw_textarea_field() in /home/lakelan2/public_html/admin/includes/functions/html_output.php on line 236 Any ideas?
jonquil Posted January 7, 2008 Posted January 7, 2008 Post your appropriate block of lines before you edited and post again after the edits :) It's all just ones and zeros....
Guest Posted January 7, 2008 Posted January 7, 2008 Thanks for your time Jon. I was very close, my code looks a bit different. I was able to change it by just changingf "input field" to "textarea". I did get this error though: Missing argument 4 for tep_draw_textarea_field() in /home/lakelan2/public_html/admin/includes/functions/html_output.php on line 236 Any ideas? This is what line 236 says function tep_draw_textarea_field($name, $wrap, $width, $height, $text = '', $parameters = '', $reinsert_value = true) {
jonquil Posted January 7, 2008 Posted January 7, 2008 Oops, that's not what I asked for :) It's all just ones and zeros....
nabler Posted November 3, 2009 Posted November 3, 2009 Post your appropriate block of lines before you edited and post again after the edits :) thnx
Recommended Posts
Archived
This topic is now archived and is closed to further replies.