×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Text area only show one row in description field of joscomments

Text area only show one row in description field of joscomments 15 years 2 months ago #7411

  • Bayardo Rivas
  • Bayardo Rivas's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Hello guys,

I used joscomments for other single sites and I really appreciate this, and I never had any problem until now. At this time I am working on a new site and I am having problems. The textarea box only show one row, so, even when I can write enough I only can see line per line.

Here is the link to the an article where the problem occurs:

www.cloc-viacampesina.org/index.php?opti...41:jovenes&Itemid=23

Thanks for your advice.

Bayardo.

Text area only show one row in description field of joscomments 15 years 2 months ago #7412

  • Bayardo Rivas
  • Bayardo Rivas's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Sorry a correction, I am using JoomlaComment 3.26 with Joomla 1.5.14

Text area only show one row in description field of joscomments 15 years 2 months ago #7418

  • JonusC
  • JonusC's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 785
  • Thank you received: 48
1) Edit the file here...
components/com_comment/joscomment/templates/MTdefault-emotop/css/css-green.css

2) Add the following to the end of the CSS file:
#tcomment {
    height: 300px;
}
...substitute 300 for whatever number you fancy (test and experiment to find your size)


Reason for problem: The Joomla templates' CSS default for inputbox height was 16px, solved by specifying a manual height for #tcomment class name.

Text area only show one row in description field of joscomments 15 years 2 months ago #7433

  • Bayardo Rivas
  • Bayardo Rivas's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Hello Jonus,

I added the lines exactly as you recomended at the end of the css file, but the textarea continue with one line.

Plese tell me if I have to check in other file.

Thanks.

Text area only show one row in description field of joscomments 15 years 2 months ago #7434

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
jonus wrote height, not width :)

Text area only show one row in description field of joscomments 15 years 2 months ago #7436

  • JonusC
  • JonusC's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 785
  • Thank you received: 48
I tested it, that's correct. Did you try clearing your browser cache and Joomla cache?

Well you could do it in the template's HTML... search for tcomment and find the <inputbox > element and make it's code like this:
<textarea class="inputbox" rows="10" cols="5" name="tcomment" style="height:300px;"/>

Text area only show one row in description field of joscomments 15 years 2 months ago #7438

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Don't you guys read what I write?
he has
#content textarea {
width:300px !important;
}
it should be:
#content textarea {
height:300px !important;
}
and ready :)

Text area only show one row in description field of joscomments 15 years 2 months ago #7445

  • Bayardo Rivas
  • Bayardo Rivas's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Done....

Finally it is working. As Daniel said, it was enough with adding the lines to css-green.css file:

#content textarea {
height:300px !important;
}


Thank you Jonus and Daniel.
  • Page:
  • 1
Time to create page: 0.114 seconds