Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have two different view_modes for a adv. forum post: in the node and in a view_block with a display suite view mode: full and teaser.
With template advanced-forum-post.tpl.php I can change both view_modes.
I can't find a way to make two tpl.php templates, one for full_mode and one for teaser_mode. E.g node--contentype--view_mode.tpl.php is not working. Does anybody knows the answer?
Comments