2 personman Sep 19, 2005 22:14

I have tried that. I even openes the souce to check if the textarea had changed!!!.
Ir is really strange :o
Which text area are you talking about, specifically?
It could be affected by CSS. If there is style information connected to that control, it will override the old HTML attributes (rows, cols, etc.).
Check to see if the textarea tag has a class assigned. If it doesn't then you might look for the textarea itself to be defined in your CSS file(s).
Thanks for the interest.
I am looking at the file admin/_edit_form.php
Specifically
<?php // ---------------------------- TEXTAREA -------------------------------------
// Note: the pixel images are here for an IIS layout bug
?>
<div class="edit_area"><img src="img/blank.gif" width="1" height="1" alt="" /><textarea rows="20" cols="40" name="content" id="content" tabindex="4"><?php echo $content ?></textarea><img src="img/blank.gif" width="1" height="1" alt="" /></div>
I have tried to change the rows setting to make it larger....
There is nothing in the class edit_area neither in variation.css or desert.css which the backend
http://www.bibliotek.horsens.dk/skraedder/admin/b2edit.php
seems to use.
Thanks for the replies :-)
right at the bottom of desert.css
div.edit_area {
width: 100%;
text-align: center;
}
div.edit_area textarea,
textarea.bComment {
width: 98%;
margin: 0 auto;
}
¥
I did find the edit_area class, but I cannot really grasp how that should affect the row setting 8|
It only has a width setting, so why should it change the height or rows of the textarea!!!
Mayby i am not sufficient in css!
Michael
Sorry, I should have been clearer, add height:##em where ## is the height you want.
¥
It doesn't do the trick!!!!
The css controls the area around the textarea, not the textarea rows setting. It does make the surroundings bigger, but not the textarea.
It should be in the textarea row setting, that was my initial idea. It must be in the _edit_form.php
I have tried to write something above the textarea and it shows just fine in the write and edit in backend.
Hmm I am stumbed by this.
Thanks for the help in locating the problem.
div.edit_area textarea,
textarea.bComment {
width: 98%;
margin: 0 auto;
height:50em;
}
Works for me?
¥
The default rows in the texarea is still only 11 rows down... No matter what i do
Since my FCKeditor takes up 3 lines, then I would like to increase it even more.
I have tried to change it to 300 em, and it doesn't make the textarea gigantic.
anker wrote:
Since my FCKeditor takes up 3 lines . .
You've got FCKeditor hacked into the b2evolution edit form? That's something that should have mentioned earlier. That's probably having some effect.
Ok, that helps :S:S
Tell you what, create an account where I can have simple access to your create post screen and then I might actually have a chance of helping you.
Alternatively, copy and paste the source code of your create post screen (including css) here.
¥
I'm gonna have to change my crystal ball :S
My network is down just now. I will be back. Dammit.
Sorry about this late answer. Another project just landed on my lap. Discussion forum among others :-)
Hope this clarifies, what I have tried. As I have explained it only increased the area around the textarea, not the textarea itself.
admin/_edit_form.php
[code]<?php // ---------------------------- TEXTAREA -------------------------------------
// Note: the pixel images are here for an IIS layout bug
?>
<div class="edit_area"><img src="img/blank.gif" width="1" height="1" alt="" /><textarea rows="60" cols="40" name="content" id="content" tabindex="4"><?php echo $content ?></textarea><img src="img/blank.gif" width="1" height="1" alt="" /></div>
<script type="text/javascript" language="JavaScript">[/code]
admin/desert.css
[code]div.edit_area {
width: 100%;
text-align: center;
height:300em;
}
div.edit_area textarea,
textarea.bComment {
width: 98%;
margin: 0 auto;
height:300em;
} [/code]
It seems, on my Firefox, just editing the following code has the desired effect.
div.edit_area textarea,
textarea.bComment {
width: 98%;
margin: 0 auto;
height:500px;
}
That should work. Be sure to save the file, then reload the page in your webbrowser.
http://forums.b2evolution.net//viewtopic.php?p=2303