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.
By mahapatra.tusar on
How do we print View fields on Twig (created custom view page)
Comments
What?
What?
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.
How will get only one
How will get only one specific node data from view template, its may be 10th key but we have 100th node? I have custom view template with {{ rows }} variables.
Hi Jeff Burnz,
Hi Jeff Burnz,
If you have solution please let me know.
print View fields on Twig
hi,
U print view fields on twig in drupal 7.
views-view-fields--[viewname].tpl.php
print $fields["title"]->content;