Hey Folks
I'm quite new to drupal and thought about giving it a shot. I was reluctant before, but now drupal 7 is in alpha, I'm giving it a go but have hit a major hurdle.
I'm a custom/expression engine guy and I love being able to spit data into my own template and do whatever I want. I've been trying to do the same thing with drupal views and themeing the output. Here's the problem.
I've created a new content type called "property" (custom fields, linked taxonomy), I've created my view (working fine), created a block and I've attached it to a page node/6. All working fine.
However, I'm now trying to create a custom template and I've created an override of views-view-field--property-list.tpl.php - that works fine if I keep the default print $output;
inside.
When I try and edit the template to display the individual field values and taxonomy values I don't seem to be getting anywhere. I can get the node title by printing "title: print $row_value = $row->{$view->field['title']->field_alias};
" but the other fields either don't work or display the wrong information.
For example, price "price: print $row_value = $row->{$view->field['entity_id']->field_alias};
" - shows a value of "5". Same with image and location.
image: print $row_value = $row->{$view->field['entity_id_1']->field_alias};