By jeffjohnvol on
I have several categories (content types) that get published on the front page when published. content types such as: funny story, Cool Item, How To, Inconsiderate Boater, Boating News.
Is there a way that I can display the content type above the story title? Preferably with it being a hotlink to a page that I have for each of the types.
I'd prefer not to put it in the teaser text, because I just want it to show on the front page, and not on the category page. In other words, I don't want it to say "inconsiderate boater" on each story of the inconsiderate boater page, since it would be superflous.
Any ideas? Would I need to modfiy a template or css?
Thanks.
Jeff
Comments
Have you looked at Contemplate?
I've not used this module myself, but part of its function is to control the teaser content: http://drupal.org/project/contemplate
Have it, but haven't tried it yet.
Ah, I have that module, but haven't tried to learn it yet. I'll give that a shot.
Thanks.
I did a similar thing using
I did a similar thing using the Views module. I created a view for the homepage that would grab all the different posts from all content types and display title, teaser, what content type, comments, read more. Then I created views for each of the content types that I could further customize what fields are displayed.
ok
That sounds like a good option as well. Thanks for replying. I was thinking about the comment thing. I don't suppose you know how to post the latest comment in the teaser section view do you?
Blocks?
samwich, do you use different blocks for each view in the front page? Can you provide a URL so I can see if this is what I need? I thought that my only choice was taxonomy, never thought about different content types.