How can i integrate this theme with advanced forums?I know i have to edit the template.php but when i follow the DOC it dosen`t work.

Comments

michelle’s picture

Status: Active » Fixed

I just peeked at the template.php and the function hasn't changed from Garland so it's exactly the same as the example provided with advforum:

function _phptemplate_variables($hook, $vars) {
  if (module_exists('advanced_forum')) {
    $vars = advanced_forum_addvars($hook, $vars);
  }

  if ($hook == 'page') {

    if ($secondary = menu_secondary_local_tasks()) {
      $output = '<span class="clear"></span>';
      $output .= "<ul class=\"tabs secondary\">\n". $secondary ."</ul>\n";
      $vars['tabs2'] = $output;
    }

    // Hook into color.module
    if (module_exists('color')) {
      _color_page_alter($vars);
    }
  }
  
  return $vars;
}

Michelle

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.