4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: 4ella on June 22, 2009, 11:02:39 AM

Title: How can I set up admin category description text area form wider?
Post by: 4ella on June 22, 2009, 11:02:39 AM
Hello , pls where can I set up wider admin category description textarea form ? I want to put more information in category description and it is not very comfortable to use this small form (I think 85px wide form). Was searching for it but didn't find it till now.

Thanks Daniel
Title: Re: How can I set up admin category description text area form wider?
Post by: V@no on June 22, 2009, 03:57:09 PM
The width controlled by this part of code in admin/admin_globals.php
if (strstr(getenv("HTTP_USER_AGENT"), "MSIE")) { // Browser Detection
  $textinput_size = "50";
  $textinput_size2 = "30";
  $textarea_size = "50";
}
else {
  $textinput_size = "30";
  $textinput_size2 = "17";
  $textarea_size = "28";
}

Height by last number in this line in admin/admin_functions.php
function show_textarea_row($title, $name, $value = "", $cols = "", $rows = 10) {
unless it's overrided by the line that calls this function.


Or if you are using Firefox try this extension:
Resizeable Textarea (https://addons.mozilla.org/firefox/addon/3818) or Greasemonkey script: Resizeable Text Fields (http://userscripts.org/scripts/show/42433)
Title: Re: How can I set up admin category description text area form wider?
Post by: 4ella on June 23, 2009, 02:12:38 PM
Thanks a lot V@no , works like you've said , your advices are always 100% , I would like to put your link (logo) to my site but I dont know your site or to donate or to do something to thank you for your precious time, if you want tell me how or PM me . Thanks again Daniel