Drupal 7 Views - How to access unformatted $row variable in a custom template?

前端 未结 3 1011
无人及你
无人及你 2021-01-12 15:29

I just installed Views module for Drupal 7 and am trying to find out how to customize it.

So far, I have done the following things.

  1. Created a content t
3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-12 16:15

    print $fields['your_field_value']->raw;
    

    did not work for me, however the following did in my case.

    $row->field_YOUR_FIELD[0]['rendered']['#markup'];
    

提交回复
热议问题