How do we print View fields on Twig (created custom view page)

Comments

mahapatra.tusar’s picture

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.

mahapatra.tusar’s picture

Hi Jeff Burnz,

If you have solution please let me know.

Dharti Pandey’s picture

hi,
U print view fields on twig in drupal 7.

views-view-fields--[viewname].tpl.php

print $fields["title"]->content;