Change display of teaser based on content type of page in which it is displayed So I know you can define how to display a teaser for different content types using if($teaser) in node--content_type.tpl but how can I add logic to render the teaser in different formats depending on the content type of the page in which it is being displayed?

I want to do this

if($teaser &amp;&amp; CONTENT_TYPE_OF_PAGE_THAT_TEASER_IS_DISPLAYED_ON == content_type)


within node--content_type.tpl is there a way to go about this?

For example I have teasers of content type blog. But I want these teasers to display different when they are on a page of content-type:blog, to when they are displayed on a page of content-type:level_3.

Thanks for your time
Have you tray display suit?

Display suit let you configure how you want to print the teaser and the full content type with a great UI

Oskar