1
arrakis
[Solved] Changing width of news and forum text area
  • 2007/10/22 8:52

  • arrakis

  • Just popping in

  • Posts: 50

  • Since: 2004/10/1


Hi all, when I go into the forum (newbb2), and try to write a new post, the form is too large and the site layout get messed up.

I decided to go to templates and change the width of the textarea, but there is no way to do it.

I checked also in the css, it is not set in the .css file, but directly in the html:

<textarea name='message' id='message' rows='25' cols='60' tabindex='2'></textarea>


The total width of the XOOPS layout is 850 pixels, fixed width.

The problem is that I have left blocks on the left column, and right blocks on the right column, and when I go to post a new topic on the forum, the form is larger than the available width on the center column.

So I need to change it and make it smaller, how it is possible to do it?

Thanks in advance for any useful suggestion.

2
arrakis
Re: Changing width of news and forum text area
  • 2007/10/22 13:17

  • arrakis

  • Just popping in

  • Posts: 50

  • Since: 2004/10/1


Ok, I found out myself how to change that, even if I don't like much to go editing the files on the server (if there is an upgrade someday, you can loose all the changes).

I did that editing this file:
/modules/newbb/include/forumform.inc.php

and changing this line (n.149):
$cols = 60;

Changing that value to 45 did the job.

Login

Who's Online

224 user(s) are online (134 user(s) are browsing Support Forums)


Members: 0


Guests: 224


more...

Donat-O-Meter

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

Latest GitHub Commits