Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New KB doc on dissapearing submenus in the CP #380

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions content/collections/kb/cannot-see-cp-submenus.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: Control panel submenus not showing
kb_categories:
- Troubleshooting Common Scenarios
id: e86f3460-d6ca-11e8-b568-0800200c9a66
---
TeriyakiBomb marked this conversation as resolved.
Show resolved Hide resolved
Are the submenus under collections and users not showing in the CP? If your site is using https, it can cause issues if your environment is expecting http. You can fix this in by changing your site URL in `system.yaml`:
```
locales:
en:
full: en_GB
name: English
url: "https://example.com"
```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the whitespace before the backticks otherwise it won't render correctly.


Or `APP_URL=https://example.com` in your `.env`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably a good idea to give an example. Something like this:

Or reference the URL from an environment variable in your .env file.

url: "{env:APP_URL}"
APP_URL=https://example.com/