By Franck69 on
Hi there,
I wrote the following post but had no answer http://drupal.org/node/276093 so I decided to make some research and I found some interresting information there: http://drupal.org/node/53464
However, I still don't understand the behaviour of teasers;
1/ What determines the length of the teaser, or the number of rows that will be part of the teaser and from where the full node will be truncated ?
2/ Is there a place where it can be configured or it's hardcoded ?
Thank's!
Comments
...
Teaser lengths are determined by your post settings at yoursite/admin/content/node-settings. You can override this default setting on a per-node basis by either using a manual teaser break or by using the split summary at cursor feature of Drupal 6.
just noticed that "manual
just noticed that "manual teaser break" link posted above doesn't actually state what that break tag is. Just type in
<!--break-->in your node body content where you'd like the teaser break to be. I think you need to also make sure input format is on full htmlThx
Thank's a lot for these answers... my problem is then solved.
Cheers
Franck
manual break tag shd have no spaces
The link to the description of the manual break tag has the very helpful instruction that the break tag should have no spaces in it, else it will be ignored.
Will be helpful
This will be helpful to you, click here.
Geshan
Basic Drupal HOw to
For nodes with more fields
For nodes with more fields than node title and body check here
Geshan
My Blog
when displaying teasers, is
when displaying teasers, is it possible to display the 'read more' link after a fixed number of lines rather than a fixed number of characters? can it be done without patching the .tpl files?
you can't set it to some fixed number of lines!
Unfortunately, you can't set it to some fixed number of lines! Computers understand characters, words and paragraphs (as there is an enter mark; but not lines (it's only for humans) Fuzzy logic (stupid logic) is only for humans, as of now.