I already have a teaser view mode for my Case Study content type which gets output by views (content pane display). It uses the following tpl:
<div class="m-post m-post--case-study <?php print $ node->type?>" href="<?php print $ node_url ?>"> <div> <div class="m-post m-post--case-study__image large-3 medium-4 small-12 columns"><?php print render($ content['field_image']); ?></div> </div> <div> <div class="m-post__caption large-9 medium-8 columns"> <a href="<?php print $ node_url ?>"><h4 class="m-post__title"><?php print render ($ content['field_first_name']); ?><?php print render ($ content['field_last_name']); ?></h4></a> <div class="m-post m-post--case-study__button"><?php print render ($ content['field_course']); ?></div> <div class="m-post__content"> <div class="m-pullquote m-pullquote--case-study quote"> <blockquote><?php print render ($ content['field_main_quote']); ?></blockquote> </div> </div> </div> </div> </div>
This displays the case study profiles of students, using First and last name, course, image and quote taken from the Default view mode. The image is a round picture of the student. I would like another teaser view mode, to display a different type of case study, with a standard rectangle image, and perhaps some other different fields.
I don’t want to have two content types (e.g. profile case studies and case studies).
I’m using this theme hook suggestion:
// Template suggestion per view mode $ variables['theme_hook_suggestions'] = 'node__' . $ variables['view_mode']; $ variables['theme_hook_suggestions'] = 'node__' . $ variables['view_mode'] . '__' . $ node->type;
Initially, using Entity view modes I added a new view mode (standard case study), and cloned the content pane in views, selecting standard case study as the view mode in content pane: row style options (format being a rendered entity).
Is there any way I can have two teaser view modes?
✓ Extra quality
ExtraProxies brings the best proxy quality for you with our private and reliable proxies
✓ Extra anonymity
Top level of anonymity and 100% safe proxies – this is what you get with every proxy package
✓ Extra speed
1,ooo mb/s proxy servers speed – we are way better than others – just enjoy our proxies!
USA proxy location
We offer premium quality USA private proxies – the most essential proxies you can ever want from USA
Our proxies have TOP level of anonymity + Elite quality, so you are always safe and secure with your proxies
Use your proxies as much as you want – we have no limits for data transfer and bandwidth, unlimited usage!
Superb fast proxy servers with 1,000 mb/s speed – sit back and enjoy your lightning fast private proxies!
99,9% servers uptime
Alive and working proxies all the time – we are taking care of our servers so you can use them without any problems
No usage restrictions
You have freedom to use your proxies with every software, browser or website you want without restrictions
Perfect for SEO
We are 100% friendly with all SEO tasks as well as internet marketing – feel the power with our proxies
Buy more proxies and get better price – we offer various proxy packages with great deals and discounts
We are working 24/7 to bring the best proxy experience for you – we are glad to help and assist you!