changing default break, teaser word number

prameya - November 1, 2006 - 15:49

hi.. right now.. drupal autobreaks articles to somehting like... 40-50 words.. can i change the default break to something around 20 words?

it would be great, cuz it would solve a lot of my problems...

CJNepal.org | For Nepal News and Blogs - The Community!

That is settable under

nickistre - November 1, 2006 - 17:34

That is settable under administrator->settings->posts and change the "Length of trimmed posts:" field. Since it's currently going by number of characters which is defaulted to 600, I'd say 200 characters is the setting you'd want.

nah... i want 100... how do

prameya - November 4, 2006 - 16:47

nah... i want 100... how do i change it to hundred?

CJNepal.org | Nepal News and Blogs - The Community!

on drupal 4.7 is slight different

tengoku - April 1, 2008 - 20:42

i knew that a node content on drupal is trimmed if the node dont have the default tag it cuts the information in a certaint lenght of words specified on "...admin/settings/node". else it cuts where that tag was specified

if you use an editor, you may consider activate a drupalbreak plugin (thats the name of the TinyMCE plugin...)

you can also

Lenny1942 - November 1, 2006 - 17:48

you can also use
<!--break-->
to place your breakline exact where you want it.

Just in case when you really want the teaser to end at a specific place.

 
 

Drupal is a registered trademark of Dries Buytaert.