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

Entries Multisite CP Navigation Bug #4121

Closed
davidhellmann opened this Issue Apr 10, 2019 · 5 comments

Comments

Projects
None yet
2 participants
@davidhellmann
Copy link

commented Apr 10, 2019

Description

We have some Multisites on our installation. There is a Single Entry Startseite (Home) for Each Site. When I switch between the Site via the Dropdown and afterwards I click on the Startseite Entry I come to a other Multisite.

Maybe Images can describe it better:

image

I'm on this site: When I hover over the Home (It must called be Startseite but it doesn't switch when I switch a site) I get this link:

https://www.bistum-passau.de/admin/entries/home/2-homepage/default

When I hover on Home Sub Site in the table on the right I get this Link (this one is the right link):

https://www.bistum-passau.de/admin/entries/homeSubSite/10678-home-sub-site/pfarrverbandBurghausenDe

But it becomes more strange after Reload:
image

Now on the left there is the Startseite but when I hover now I get this link:

https://www.bistum-passau.de/admin/entries/homeSubSite/10678-home-sub-site/bistumsblattDe

To make it a bit more clear here is a short video. Look at the status bar when I hover on the links.

https://drive.google.com/file/d/1vusjpkGIBhfHoNUn5WNgvpMNBsaSGGYj/view

Additional info

  • Craft version: 3.1.15
  • PHP version: 7.2
  • Database driver & version: MySQL 8

@davidhellmann davidhellmann changed the title Entries Multisite CP Navigation Entries Multisite CP Navigation Bug Apr 10, 2019

@brandonkelly

This comment has been minimized.

Copy link
Member

commented Apr 10, 2019

Do you have multiple “Home” sections defined in Settings → Sections? Which sites are each of them enabled for?

@davidhellmann

This comment has been minimized.

Copy link
Author

commented Apr 12, 2019

I have two Home Sections. One for the Main Page and one for the subpages. The setup looks like this:

Main Site:
image

Sub Sites:
image

I can imagine whats happen here. Craft can handle just one HOME Template? Is there a way to fix that cause I need different Fields on the Pages.

Thanks for looking into it @brandonkelly

@brandonkelly

This comment has been minimized.

Copy link
Member

commented Apr 16, 2019

@davidhellmann Yeah so if there are two different “Home” sections, Craft isn’t going to maintain selection between them when switching between your main site and a subsite. Wouldn’t really be possible either so this will just have to be a slightly awkward behavior on your site.

@davidhellmann

This comment has been minimized.

Copy link
Author

commented Apr 17, 2019

@brandonkelly but how can I have two different Home templates. Site A has this fields and Site B hast other fields. 🤔

@brandonkelly

This comment has been minimized.

Copy link
Member

commented Apr 18, 2019

You can’t, so having two Home sections is the right way to go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.