surely brighter minds than mine have noticed, so there must be a legit reason, but...

why is the teaser stripped from the story and stored in the database? this is merely duplicating content in the database as waste.

why not strip the teaser when the data comes out of the database for viewing when needed. an additional benefit would be that the teaser length would not be limited to what the setting was when the story was origionally stored.

calvin.

Comments

gordon’s picture

This is most likely a leaft over from 4.3 (I think) when you could enter in the text for the teaser separately to the actual content. I think that it is not required anymore, and I don't think it is updated any more.

Someone may need to investigate this.
--
Gordon Heydon
Heydon Consulting

--
Gordon Heydon

chx’s picture

I frankly do not understand you. Teasers are automatically generated. If you need a separate teaser, you use excerpt.module.

--
Drupal development: making the world better, one patch at a time. | A bedroom without a teddy is like a face without a smile.

gordon’s picture

I know this, but the teaser field on the node file still exists and I think maybe still being populated.
--
Gordon Heydon
Heydon Consulting

--
Gordon Heydon

cmitcham’s picture

the way the teaser is automatically generated is almost perfect for me.

i just think it should be auto-generated when i retrieve the article from the database for display, not when i store the article in the database. then i would not be limited to the teaser length setting i thought i wanted back when i originally authored the story. and duplicate data would not waste space in the database.

calvin.

gkokmdam’s picture

The thing is that when one uses a HTML editor for input of the nodes one cannot influence the content of the teaser properly. That is why it would be nice if the authors could enter the teaser-part manualy.
This was a feature in older versions of Drupal (before my time and before there were any good online HTML-editors) so it did make sense to automate this.
I agree that it looks like duplication but it does make sense in some situation, It would be nice if it was possible to re-generate them in some way when one does change the setting for the teaser size. But then not for those entries that were done manually (if at all possible again hopfull)
wkr,
Gerke

heine’s picture

You don't have to pull the entire node out of the database, and generate a teaser when on overview pages.
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.