On the left column on http://ruh.kz, you can the output of the Microblog module. This module uses the node title as a microblog entry; the maximum length of the title is by default 255 characters. In a microblog.module I've made the following changes:
function microblog_form(&$node) {
$type = node_get_types('type', $node);
$form['title'] = array(
'#type' => 'textarea',
'#title' => check_plain($type->title_label),
'#rows' => 4,
'#cols' => 30,
'#required' => TRUE,
'#maxlength' => 500,
);
return $form;
}
Now, when I'm typing, it shows only 450 characters or less. Why it happens?