I'm attempting to create a custom template for a view. The template file I'm creating is being loaded (if I add some static html it renders).
I'm having trouble accessing values from the view. The tutorial I'm using advises using
To output the available fields. This is coming up as an undefined variable.
Googling suggests using $rows instead of fields but this was also undefined in this case.