如何在drupal 7中为bootstrap 7.x-3.6创建Sub主题

时间:2016-08-17 09:10:03

标签: drupal-7

在drupal中使用bootstrap 7.x-3.6。指导我如何创建子主题。 我收到了以下错误。

Notice: Undefined variable: navbar_classes in include() (line 76 of C:\xampp\htdocs\Drupal\sites\all\themes\Indivar\templates\page.tpl.php).
Notice: Undefined variable: container_class in include() (line 77 of C:\xampp\htdocs\Drupal\sites\all\themes\Indivar\templates\page.tpl.php).
Notice: Undefined variable: container_class in include() (line 117 of C:\xampp\htdocs\Drupal\sites\all\themes\Indivar\templates\page.tpl.php).
Notice: Undefined variable: content_column_class in include() (line 135 of C:\xampp\htdocs\Drupal\sites\all\themes\Indivar\templates\page.tpl.php).
Notice: Undefined variable: container_class in include() (line 169 of C:\xampp\htdocs\Drupal\sites\all\themes\Indivar\templates\page.tpl.php).
Notice: Undefined variable: html_attributes in include() (line 57 of C:\xampp\htdocs\Drupal\sites\all\themes\Indivar\templates\html.tpl.php).
Notice: Undefined variable: body_attributes in include() (line 71 of C:\xampp\htdocs\Drupal\sites\all\themes\Indivar\templates\html.tpl.php).

1 个答案:

答案 0 :(得分:0)

你应该重命名subtheme文件夹中的.info文件..

这应该是文件夹结构

/位点/所有/主题/自举

/位点/所有/主题/ subtheme_name

/sites/all/themes/subtheme_name/subtheme_name.info