The size (height) of the body field is determined by the amount of rows. Would be nice to be able to change it, because sometimes the body should just contain a small description of the content.

Comments

osopolar’s picture

Status: Active » Needs review
StatusFileSize
new2.43 KB

I have created a patch for this request. It enables to set the body size (in rows) in the submission section of each node type form. If the size is one row only it change the input type from textarea to textfield otherwise it sets the height of the textarea. If the body is disabled (empty title) the setting doesn't have any effect.

This patch changes the module and also the install file to clean the settings variables.

lelizondo’s picture

Status: Needs review » Fixed

Nice. Committed. Please test, I did it and is working.

Patching the .install file is no longer necessary since the uninstall function will look for everything that has a 'nodeformsettings' in the variable name and remove it.

Status: Fixed » Closed (fixed)

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

Imagone’s picture

Patch works great,

Thanx

Gabriel R.’s picture

StatusFileSize
new61.54 KB

The option is not visible for Nodes, only for Comments.

Is this by design?

lelizondo’s picture

Please try the latest dev version.