1
javier
change newbb new topic form width
  • 2004/4/2 12:19

  • javier

  • Not too shy to talk

  • Posts: 184

  • Since: 2002/8/6 1


I making a site for a resolution of 800x600 with both columns actived, the submit new topic form, more specificaly the field "message" is too wide for the site and i need reduce his width,

i modified other forms in other modules with width problems too,
but in newbb i can´t find where the width of the message field are specificaly.

i suuposed in newbb/include/forumform.inc.php

but i found only the title, that´s not a problem ,is under my eyes


echo "$subject' />



but in the message field i only found
xoopsCodeTarea("message");

anybody can point me in the right direction plz?
thanks in advance.
grettings

2
Anonymous
Re: change newbb new topic form width
  • 2004/4/2 17:00

  • Anonymous

  • Posts: 0

  • Since:


Quote:
xoopsCodeTarea("message");


without a value the system values are

rows=5
cols=50

If you want to change this enter new values like:

xoopsCodeTarea("message",rows,cols);

e.g.

xoopsCodeTarea("message",10,25);

Greetz

3
Dave_L
Re: change newbb new topic form width
  • 2004/4/2 17:06

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


The method xoopsCodeTarea() is defined in include\xoopscodes.php:


function xoopsCodeTarea($textarea_id$cols=60$rows=15$suffix=null)



If you want to change the size of the message field to (for example) 40x10, try:


xoopsCodeTarea("message"4010);



---

(Predator beat me to it. )

4
javier
Re: change newbb new topic form width
  • 2004/4/2 21:50

  • javier

  • Not too shy to talk

  • Posts: 184

  • Since: 2002/8/6 1


thanks Predator and Dave_L

Login

Who's Online

274 user(s) are online (229 user(s) are browsing Support Forums)


Members: 0


Guests: 274


more...

Donat-O-Meter

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

Latest GitHub Commits