microblog module - problem with max characters 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(&amp;$node) {
  $type = node_get_types('type', $node);

  $form['title'] = array(
    '#type' =&gt; 'textarea',
    '#title' =&gt; check_plain($type-&gt;title_label),
    '#rows' =&gt; 4,
    '#cols' =&gt; 30,
    '#required' =&gt; TRUE,
    '#maxlength' =&gt; 500,
  );

  return $form;
}


Now, when I'm typing, it shows only 450 characters or less. Why it happens?
The title column of the {node} table is limited to 255 characters. Just because you change it in the UI doesn't mean that it can be saved like that in the database, unless you mess around with the database schema manually (and you should not do that).

I am not sure why that module is exposing itself as a node type, sounds rather strange to me. The only reason I can imagine is being able to rely on the node access system. But nodes are a rather heavy thing, there is a lot of overhead that seems unecessary to me for this use case.