安装以下步骤在您的Drupal站点上安装page_title模块:
function _phptemplate_variables($hook, $vars) {
$vars = array();
if ($hook == 'page') {
// These are the only important lines
if (module_exists('page_title')) {
$vars['head_title'] = page_title_page_get_title();
}
}
return $vars;
}
If you are having trouble with this install then just open the README.txt file that is included with the module download. You may also want visit the Drupal website and read about the module. There is a spot on the forum where you can browse issues that others are having or add your own.
原文链接:http://www.seodrupal.org/tutorials/installing-page-title-module
评论
发表新评论