You are here

function spaces_views_post_view in Spaces 5

File

./spaces.module, line 531

Code

function spaces_views_post_view($view, $items, &$output) {
  if ($view->build_type == 'page') {
    if ($label = spaces_custom_menu('label', $view->url)) {
      drupal_set_title($label);
    }
    $nid = variable_get("spaces_header_" . $view->name . "_" . spaces_gid(), FALSE);
    if (is_numeric($nid)) {
      $output = tic_nodecontent($nid) . $output;
    }
  }
}