I have installed field_collection and have a collection called field_contact, each entry of which has a field called field_contact_url
I'm trying to customise the display of that field by overriding the view template, using the file views-view-field--field-contact.tpl.php
The template is being used, if I put a simple print 'hello' I can see the hello come up, but I cannot figure out how to access the field_collection properties. I've gone through every answer and example I can find on google, but all of them seem to rely on a variable that is not there.
$contentis not present
$nodeis not present
$fieldis present, but
$itemsis not present
I tried using this example, but the $rows is not showing up (perhaps because I put the functions in the wrong file... I put them both in the template.php file.
I have spent 6 hours trawling through Drupal docs, would really appreciate if someone could help me figure out what variables I need or where I need to put the template file so the right variables become available.