1
digdeepernow
Increase Textarea size for news submit forms

how can I Increase Textarea size for news submittal and approval forms?

2
tl
Re: Increase Textarea size for news submit forms
  • 2005/6/13 4:05

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


If you are using news 1.3.x, edit file
/news/include/functions.php

locate
case "dhtml":
 
$editor = new XoopsFormDhtmlTextArea($caption$name,
 
$value1050$supplemental);
  break;

 case 
"textarea":
 
$editor = new XoopsFormTextArea($caption$name$value);
 break;


if you are using dhtml which includes xoopscodes and smileys
change "10" (10 rows) to the value you like and "50" to column number you wish.

If you are using textarea, make changes to something like the following
case "textarea":
  
$editor = new XoopsFormTextArea($caption$name$value,
   
1550);
   break;

15 is the number of rows; 50 is the number of columns.

Login

Who's Online

193 user(s) are online (158 user(s) are browsing Support Forums)


Members: 0


Guests: 193


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits