I have found posts asking how to increase the Title char limit, but yet to find how to decrease it.

Would like to limit Titles to 24 characters (at least on Teaser versions of nodes).

Would prefer to not let the user even input a Title over 24 characters (rather than shorten the output).

Comments

dnewkerk’s picture

It's not Drupal 6 ready yet (nor is it a perfect solution, but it works)... http://drupal.org/project/maxlength
The description says Body fields, but in reality it does body and title for every content type.

Have a look using Coder module to see how difficult it may be to get ported to Drupal 6 (may be easy). I'll have a look when I get a chance - let me know if you decide to port it though.

-- David
absolutecross.com

buzzdroids’s picture

I have no porting knowledge so please feel free to give it a try :)

rosgar’s picture

The Maxlength cuts every content type. I'm using views for teaser mode only.

elsvandeveire’s picture

I'm using views.
> Row Style = Fields
> Add "Node Title" into your Fields Block
> Change the settings from "Node Title" : check "Trim this field to a maximum length"
> Choose length
> Done!

ilya.bezdelev’s picture

Is there any solution for D7?

areynolds’s picture

Maxlength has a D7 version, seems to work fine so far.

--Alec

Tandem