Author Topic: How can I set up admin category description text area form wider?  (Read 3768 times)

0 Members and 1 Guest are viewing this topic.

Offline 4ella

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
    • http://www.dancersrecruit.com/pictures/
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

http://www.dancersrecruit.com/pictures/
4IMAGES 1.7.6 version/default theme
Apache version   2.2.11 (Unix)
PHP version   5.2.9
MySQL version   5.0.75-community-log
Architecture   x86_64
Operating system   Linux

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: How can I set up admin category description text area form wider?
« Reply #1 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 or Greasemonkey script: Resizeable Text Fields
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline 4ella

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
    • http://www.dancersrecruit.com/pictures/
Re: How can I set up admin category description text area form wider?
« Reply #2 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

http://www.dancersrecruit.com/pictures/
4IMAGES 1.7.6 version/default theme
Apache version   2.2.11 (Unix)
PHP version   5.2.9
MySQL version   5.0.75-community-log
Architecture   x86_64
Operating system   Linux