"9. Also called eyebrow, highline, overline, teaser. Printing, Journalism. a short line of copy set in a distinctive type above a headline and intended to call attention to it."
"4. Slang An attention-getting vignette or highlight presented before the start of a television show."
"5. Also, teaser. Television Slang. a short scene or highlight shown at the beginning of a film or television show to attract the audience's attention."
technically, the teaser is usually just the first part of the body of a piece of content. It's exact size depends upon your admin settings, and whether you manually insert the <!--break--> marker.
Note, that a module implementing a content type can arbitrarily define what the teaser is, so the most accurate definition might be: the teaser is whatever portion of the full node's content the node-type-module wants to show you on a listing of nodes like the default /node home page.
There is a bug in the core Node module. Check the issue status. It is a simple change (can be done manually) and must be applied in order for some modules to render teasers correctly. By the way, you might want to add your own experience to that bug report in order to increase its attention by the developers.
A "teaser" is essentially a snippet of text designed to tell the user the content of a post without reading the entire post. Since most writers have embraced the common journalistic style of explaining the nature of an article in the first paragraph, teasers work well for most articles.
Here's what happens:
1) A node contains an entire article.
2) Drupal's "teaser" function, "node_teaser," strips the first x number of words from the article and makes it available as content. The exact length is determined by the values the admin sets in Drupal's settings page.
3) So, you list a bunch of articles on a page. You want the articles to display only a snippet of text from the full article, so that you can fit a bunch of articles on a page without requiring the user to page down through tons of text. If the user likes the "teaser" content of the article, they will click on the article's title and see the full content of the article on its own page. In a sense, teasers function like summaries of an article, except that the software decides where to cut off the text. If you want to determine where a teaser article ends, you can insert the <!--break--> comment tag to instruct Drupal exactly where to fashion the break between full text and teaser text.
I was wondering if the teaser module could serve as a substitute for the excerpt module that seems to be in a dead end.
As some content does not work good with the "inside text extract" idea*, having the option of making the summary of the content by hand was really good.
I miss it in 5 :(
*- Example: A site collecting tales of, let's say, H.P. Lovecraft... Now go and make an automatic teaser out of any of them ;)
"2) Drupal's "teaser" function, "node_teaser," strips the first x number of words from the article and makes it available as content. The exact length is determined by the values the admin sets in Drupal's settings page."
doesn't the teaser strip the first x number of CHARACTERS, not WORDS ? I noticed it on drupal 4.7 and 5.1, and it was a problem for me because it cut half the words in the end.
Comments
the text that explains your
the text that explains your post or overview. Basicly small part of your content that will apear on, for example, homepage...
-------------------------------------
Sites for uzbek and Uzbekistan:
Uzbek Lyrics Database
Uzbekistan Forum
thanks for your quick help!
thanks for your quick help! then why is it called "teaser"? :)
Because that's what it is :)
It's a slang term for an introduction that is designed to suck you into the main thing.
eg from http://dictionary.reference.com/browse/teaser ...
"9. Also called eyebrow, highline, overline, teaser. Printing, Journalism. a short line of copy set in a distinctive type above a headline and intended to call attention to it."
"4. Slang An attention-getting vignette or highlight presented before the start of a television show."
"5. Also, teaser. Television Slang. a short scene or highlight shown at the beginning of a film or television show to attract the audience's attention."
--
Anton
New to Drupal? | Forum posting tips | Troubleshooting FAQ
Thanks a lot for the
Thanks a lot for the detailed explanation! As a non-native American, now I fully understand it.
technically, the teaser is
technically, the teaser is usually just the first part of the body of a piece of content. It's exact size depends upon your admin settings, and whether you manually insert the
<!--break-->marker.Note, that a module implementing a content type can arbitrarily define what the teaser is, so the most accurate definition might be: the teaser is whatever portion of the full node's content the node-type-module wants to show you on a listing of nodes like the default /node home page.
---
Work: BioRAFT
Does Not Work In 5.x
Also note, that
<!--break-->does not work with 5.xAs I was just informed by Crell, it's a long story. For more info view the following issues:
http://drupal.org/node/87145
http://drupal.org/node/106947
If you read those issues
I think the change from
<!--break-->to<break>was reverted after much heated discussion.see: http://drupal.org/cvs?commit=50110
---
Work: BioRAFT
No "Read More" Link
I'm using
<!--break-->but my teasers don't have a "read more" link. Why?Be nice to me I'm new here.
theme?
What theme are you using? Some themes may choose not to print this link.
---
Work: BioRAFT
Bug
There is a bug in the core Node module. Check the issue status. It is a simple change (can be done manually) and must be applied in order for some modules to render teasers correctly. By the way, you might want to add your own experience to that bug report in order to increase its attention by the developers.
Nancy W.
Drupal Cookbook (for New Drupallers)
Adding Hidden Design or How To notes in your database
NancyDru
Explanation for newbies
A "teaser" is essentially a snippet of text designed to tell the user the content of a post without reading the entire post. Since most writers have embraced the common journalistic style of explaining the nature of an article in the first paragraph, teasers work well for most articles.
Here's what happens:
1) A node contains an entire article.
2) Drupal's "teaser" function, "node_teaser," strips the first x number of words from the article and makes it available as content. The exact length is determined by the values the admin sets in Drupal's settings page.
3) So, you list a bunch of articles on a page. You want the articles to display only a snippet of text from the full article, so that you can fit a bunch of articles on a page without requiring the user to page down through tons of text. If the user likes the "teaser" content of the article, they will click on the article's title and see the full content of the article on its own page. In a sense, teasers function like summaries of an article, except that the software decides where to cut off the text. If you want to determine where a teaser article ends, you can insert the <!--break--> comment tag to instruct Drupal exactly where to fashion the break between full text and teaser text.
Thanks zoon_unit
Thanks zoon_unit for having dummed this explanation down for us (newbies),
Would anyone happen to know how I can hide the 'teaser' content once the reader clicked "read more"?
I'd like the 'teaser' portion of a node to disappear when showing the complete story. Is this possible?
Thanks a lot !
Charles
maybe
http://drupal.org/project/nodeteaser
---
Work: BioRAFT
It is no substitute for excerpt module, is it?
Hello,
I was wondering if the teaser module could serve as a substitute for the excerpt module that seems to be in a dead end.
As some content does not work good with the "inside text extract" idea*, having the option of making the summary of the content by hand was really good.
I miss it in 5 :(
*- Example: A site collecting tales of, let's say, H.P. Lovecraft... Now go and make an automatic teaser out of any of them ;)
ConTemplate
another module to look into:
http://drupal.org/project/contemplate
---
Work: BioRAFT
"Node teaser" replaces "Excerpt" module quite all right
Correction to myself: I am running "node teaser" module in a 5.1 local installation and I see it can substitute "Excerpt" for 4.x perfectly all right.
Thanks to whomever made both :)
characters, not words ?
"2) Drupal's "teaser" function, "node_teaser," strips the first x number of words from the article and makes it available as content. The exact length is determined by the values the admin sets in Drupal's settings page."
doesn't the teaser strip the first x number of CHARACTERS, not WORDS ? I noticed it on drupal 4.7 and 5.1, and it was a problem for me because it cut half the words in the end.
--
\/ushi - xushi.co.uk
/\ socialprotest.com