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
le="color: #000000"><?php case "dhtml": $editor = new XoopsFormDhtmlTextArea($caption, $name, $value, 10, 50, $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
le="color: #000000"><?php case "textarea": $editor = new XoopsFormTextArea($caption, $name, $value, 15, 50); break;

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