view->style_options; if (empty($options['title_field'])) { drupal_set_message(t('You have to define a title field to display items.'), 'error'); return; } if (!$this->uses_fields()) { return; } if (isset($this->rendered_fields)) { return $this->rendered_fields; } $this->view->row_index = 0; $keys = array_keys($this->view->field); foreach ($this->view->result as $count => $row) { $this->view->row_index = $count; foreach ($keys as $id) { $this->rendered_fields[$count][$id] = $this->view->field[$id]->theme($row); } } unset($this->view->row_index); //dpm($this->rendered_fields); $output .= theme($this->theme_functions(), $this->view, $this->options, $rows, $title); return $output; } }