1

私は drupal 8 でサイトを構築しています。コードをローカルから開発ボックスにプッシュしました。開発ボックスでは、管理者のプライマリ タブが完全に消えてしまいました。どこにでも。以下は、問題のスクリーンショットです。

http://i.stack.imgur.com/NB6Sp.png

コードはバージョン管理 (git) されており、データベースは同一です。同期する未解決の構成変更もありません。問題が何であるかを理解しようとして、私は髪を引っ張っています。どこかに設定がありませんか?ログアウト、キャッシュのクリア、別のブラウザを試しました。何もない。drupal.org でイシュー レポートを送信する前に、2 つ目のオプションを取得したかったのです。

4

3 に答える 3

1

構成が同じであってはならないのになぜ同じなのかわかりませんが、管理テーマにはヘッダーに「プライマリタブ」ブロックが含まれていないと思います。本番環境のブロックレイアウトを確認して、「プライマリタブ」が実際にあるかどうかを確認できますtabs」ブロックがあります (admin/structure/block/list/seven)。

于 2015-11-07T21:17:36.160 に答える
1

@see Where are the primary and secondary tab blocks?

You probably installed the minimal profile. And although these blocks are part of the Seven theme they only get installed in the standard profile. Sounds a like a bug. As they rather should get installed during the installation of the theme instead of during the profile installation.

Try this:

Use Drush or Drupal console or the built-in Configuration Synchronisation to export your current configuration. Then copy the config files...

core/profiles/standard/config/install/block.block.seven_local_actions.yml core/profiles/standard/config/install/block.block.seven_page_title.yml core/profiles/standard/config/install/block.block.seven_primary_local_tasks.yml core/profiles/standard/config/install/block.block.seven_secondary_local_tasks.yml

... into your config folder - which is probably /sites/default/files/config_[hashcode]/sync/. Then do a config import (using one of those 3 tools above).

于 2017-08-21T12:15:18.653 に答える