Access item url in views-view-fields.tpl.php I'm using views-view-fields.tpl.php to theme the output of a content type.

What I need to do is the below, except I don't know how to get 'url_for_this_item' without either printing all the variables and referencing it in a long array lookup, ie like $fields[smth][ddd][0][44][ui][uri].

Is there a simple, clean way to get the url in the template?  I have tried outputting a link but then views still insists on giving the full link with an closing tag on the end.  Of course, I can parse this and remove the closing tag but it just seems too hacky.  Is there not a better way?

print '&lt;a href="' . $fields[url_for_this_item] . '"&gt;';
    print $fields['title']-&gt;content;
    print $fields['field_this']-&gt;content;
    print $fields['field_that']-&gt;content;
print '&lt;/a&gt;';


I want to to get the url for
If I understood it right, you can simply add a new field in Views which holds the URL to the item. And then in the template file you can print this field as you described in you question.