As a non-php savvy drupal user, this seems like the perfect fit with the text defaults option - the ability to easily set a site default comment box size. A nice, easy utility that would be really helpful to us mere mortals.
As a non-php savvy drupal user, this seems like the perfect fit with the text defaults option - the ability to easily set a site default comment box size. A nice, easy utility that would be really helpful to us mere mortals.
Comments
Comment #1
nancydruDo you mean that you want to change the "Comment" textarea in "comment_form" from 5 lines to 10 line?
Comment #2
bobgeier commentedYes, to an arbitrary value. For many use cases, the default drupal comment text area is way too large (think a more twitter-esque commentary, for example); in a few use cases I can imagine it's too small.
For those of us who find the forms system arcane, the ability to make a simple, oft-needed change like that would be a delightful utility. There are a few threads on it in different places.
Comment #3
bobgeier commentedComment #4
nancydruI'm not sure that you can't do this in CSS, but here's a little add-on for you. It allows you to set the size different for each content type. In addition, it adds a CSS class which includes the content type name, so that you can do additional styling in CSS (and there is a sample of how to do it).
Comment #5
bobgeier commentedVery cool. Thanks, Nancy!
Comment #7
mehoo462 commentedHi,
Thanks for a very useful module. I've downloaded it but I can't find the option to use this feature. Under "Type Defaults" in admin->site configuration->Utilities I see a "Minimum Number of Words" but I don't see anywhere to set the size of the comment box. Have I missed something? Thank you.
Comment #8
nancydruDid you download the -dev version? Did you enable "Comment box" on the modules admin page?
Comment #9
mehoo462 commentedI did not download the -dev version. I will try that now. Thanks.
EDIT: Got it! Thanks. I see now where the project page tells me i need the Dev version. It was a little misleading because the feature is listed in the main feature list and then listed again in the "in development" feature list. Anyway thanks for a great module. For a newb like me it's great to not have to go scrounging around in code to implement these things.
Comment #10
nancydruNo more follow up