Needs review
Project:
Teaser by Content Type
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
16 Jun 2008 at 06:36 UTC
Updated:
15 Jan 2011 at 10:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
joachim commentedAs of version 6, I'm able to use Drupal core's teaser generating function directly, so I'd rather stick to that instead of recoding it to do different stuff.
Also, I don't think this is the right way to suppress a teaser completely: theming, or creating a view that shows only titles would be the better method, I think.
Comment #2
msumme commentedActually being able to suppress teasers by content type would be VERY useful.
For example, with views attach, you can attach an embedded view into the teaser build of a node, but you can't attach the same type of view to another view that's just fields.
For example, if you want to have galleries with descriptions that don't show up under teaser build, but don't want to disable teasers site-wide, and then go through and one-by-one enable them with this module.
Also, I rolled a quick and painless change into the module. It adds a text box instead of a select, so you can make them whatever length you want.
I only changed #type to 'textfield' and deleted the options, and set the default to something reasonable. I didn't know how to access the system teaser length variable.
Would there be any way to disable teaser output? I'd be willing to do the programming if someone would give me a clue.
Thanks,
Max
Comment #3
doublejosh commentedHa. Found this post from two years ago that I guess I made. Need this options again.
I love using teaser and full nodes in views to have standard teaser modes for content types, and then showing those... rather than theming views.
Once, again suppressing the body while in teaser mode so as just to display several fields and title seems super useful.
+1 on my own post :)
Comment #4
doublejosh commentedHere is the patch for the Drupal 6 version.
PS: The reasoning was to have a CCK field for the summary view that is different than a truncated node body as the teaser.
Hope it makes more sense now 2 years later :) Though 7 may allow for this more simply with it's much improved field system.
Comment #5
doublejosh commentedInterested in accepting this feature add? No work, patch is ready. Just needs review.