Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
9 - 2 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: Changing width of news and forum text area
by arrakis on 2007/10/22 13:17:48

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.
[Solved] Changing width of news and forum text area
by arrakis on 2007/10/22 8:52:07

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:

le="color: #000000"><?php <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.

Who's Online

593 user(s) are online (564 user(s) are browsing Support Forums)


Members: 0


Guests: 593


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits