Drupal 8 Open Social 新子主题未在外观中显示

Drupal 8 Open Social new sub-theme not showing in appearance

我正在使用 Drupal 的开放式社交框架,我在其中复制了 socialblue 主题,以便我可以在新主题中进行修改。我按照以下步骤操作,清除了缓存,但我无法在 admin/appearance 部分看到我的新主题。

我遵循的步骤:

1) 我将主题 socialblue (html/profiles/contrib/social/themes/socialblue) 复制到 新主题 (html/profiles/contrib/social/themes/newtheme)

2) 我在“newtheme”目录中进行了搜索 (socialblue) 并替换了 (newtheme)

3) 我将以下文件的名称从“socialblue”更改为“newtheme”

4) 我从 default.services.yml 创建了一个 /html/sites/default/services.yml 文件并进行了以下更改

5) html/profiles/contrib/social/themes/newtheme$ 纱线安装

6) html/profiles/contrib/social/themes/newtheme$ sudo npm install -g gulp-cli

7) html/profiles/contrib/social/themes/newtheme$ gulp

我没有收到任何错误。我确保我的 newtheme.info 文件的名称为 newtheme。我也在 html/themes/custom/newtheme 中复制了这个新主题,但仍然没有成功。我错过了什么吗?

我解决了。原来是因为我的基本主题被提到为 'socialblue'。我将其更改为 'socialbase' 并且成功了。我不知道在 drupal 8 中一个父主题是否可以有多个子主题。