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

nancydru’s picture

Status: Active » Postponed (maintainer needs more info)

Do you mean that you want to change the "Comment" textarea in "comment_form" from 5 lines to 10 line?

bobgeier’s picture

Yes, 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.

bobgeier’s picture

Status: Postponed (maintainer needs more info) » Active
nancydru’s picture

Status: Active » Fixed

I'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).

bobgeier’s picture

Very cool. Thanks, Nancy!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

mehoo462’s picture

Category: feature » support
Status: Closed (fixed) » Active

Hi,

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.

nancydru’s picture

Status: Active » Postponed (maintainer needs more info)

Did you download the -dev version? Did you enable "Comment box" on the modules admin page?

mehoo462’s picture

I 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.

nancydru’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

No more follow up