Timeline for Twig templates for nodes in different views
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 25, 2017 at 21:56 | comment | added | James Shields | Brilliant! That's working perfectly now. I must admit I hadn't realised how useful custom view modes are. I suspect I will be using a lot of them in the future! | |
Oct 25, 2017 at 21:54 | vote | accept | James Shields | ||
Oct 25, 2017 at 15:09 | comment | added | James Shields | Brilliant. I will try this tonight. It would appear that this bug has been known for a year and a half, and no fix in sight. | |
Oct 25, 2017 at 13:40 | comment | added | lamp5 | Yes, you can see this suggestion like in your example. | |
Oct 25, 2017 at 10:35 | comment | added | James Shields |
Thanks! So in the above example, my template would become node--blog-post--teaser.html.twig , and if I create a view mode called "Latest" and use it for my view, the template would become node--blog-post--latest.html.twig ?
|
|
Oct 25, 2017 at 7:25 | review | First posts | |||
Oct 25, 2017 at 7:57 | |||||
Oct 25, 2017 at 7:22 | history | answered | lamp5 | CC BY-SA 3.0 |