Can some 1 provide a working template.php for SEO position theme which is also supported by advanced forum..

Thanx a ton in advanced.

Comments

sourabh.iitm’s picture

This theme is giving bugs to administration block page when i not modifying template.php

sourabh.iitm’s picture

temporarily I have pasted following function from sky theme in template.php

function _phptemplate_variables($hook, $vars = array()) {
  switch ($hook) {
    case 'page':
      $vars['body_class'] = '';

      $layout = '';
      //Is there a left sidebar?
      if ($vars['sidebar_left'] != '') {
          $layout = 'sidebar-left';
      }
      //Is there a right sidebar?
      if ($vars['sidebar_right'] != '') {
           $layout = ($layout == 'sidebar-left') ? 'sidebars' : 'sidebar-right';
      }
      //Put layout into body_class
      if ($layout != ''){
         $vars['body_class'] .= ' ' . $layout;
      }
      break;
	  }

	// Add a page title variable
	if($vars['is_front']) { // use the site slogan as title for the front page
	$vars['sky_title'] = variable_get('site_slogan', '');
	} else { // get the page title and use that
	$vars['sky_title'] =  drupal_get_title();
	}
	
	// Start support for Advanced Forum Module
	if (module_exists('advanced_forum')) {
		$vars = advanced_forum_addvars($hook, $vars);
	}
	// End support for Advanced Forum Module

return $vars;
}

The problems i am facing are

  • Bug in administration Block Page - admin/build/block
  • Profile variable used to display real name - admin/content/types/forum is not working..

Can some 1 suggest me anything??

Thanx a million.

sourabh.iitm’s picture

Status: Active » Closed (fixed)

Closing my support request because i am using drupal 6.