Download & Extend

Change the size of the comment text area - Doesn't seem to work

Project:Node and Comments Form Settings
Version:6.x-2.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hello,
This is a great module. Quick and easy!
However, I am trying to change the size of he comment text area and it does not seem to work. It stays at the original size.
Any recommendations?

Thanks in advance,
Sylvain

Comments

#1

Category:support request» bug report

You can only change the height. If you want to change the width you'll have to do it with some CSS.

However, if the problem is the height, then we're talking about a possible bug.

#2

Thanks for the reply, I confirm the problem is the height. What kind of info would you need from me to troubleshoot?

#3

I've just tested this and it is working, I was using 6.x-2.x-dev but I don't think there's a substantial difference with 6.x-2.0 in this issue.

If you still have the problem, it is always a good thing to change the theme to Garland and test again, if is working with Garland, then this is an issue with your theme.

#4

Sorry for the delay on this. I am having this issue with garland theme, I tried other theme and it does not help.

#5

Component:Miscellaneous» Code

Thanks for this module, but there is still a bug with the size of the comment textarea body.
on file commentformsettings/includes/option_cfs_size.inc, to work code must be:

function _option_cfs_size(&$form, &$form_state, $settings, $node) {
if($settings['cfs_size'] > 0) {
$form['comment_filter']['comment']['#rows'] = $settings['cfs_size'];
}
return $form;
}

Regards.
Mog.
nobody click here