Hello,
I want to know any best practices that will connect my Phoenix sites to each other in a seamless manner. I would like for it to be in the header but not break the design or anything.
Maybe make a navbar module? If you have done this or have any suggestions please share. Thanks in advance
Best way to connect my Phoenix sites to each other?
-
- Lead Developer
- Posts: 2637
- Joined: Tue Nov 05, 2019 6:02 pm
- Has thanked: 4 times
- Been thanked: 181 times
Re: Best way to connect my Phoenix sites to each other?
What does connecting your Phoenix sites to each other mean?
Are you saying you want a link in the header from each site to the other? Or something else? For example, do you want to share sessions? Accounts? Catalog data?
If you just want a link, a navbar module will work so long as you are satisfied to have the link in the navbar.
A header content module would also work. Under some circumstances, it might make sense to have it replace the logo module. Exactly which implementation you choose would be dependent on how you want the design to look. For example, if you want it in the navbar, then a a navbar module would be the way to go. If you want it integrated with the logo of the site, replace the logo module. If you want it somewhere else in the header, then perhaps a header content module.
If you want more connection than just a link, that would add more complexity.
Are you saying you want a link in the header from each site to the other? Or something else? For example, do you want to share sessions? Accounts? Catalog data?
If you just want a link, a navbar module will work so long as you are satisfied to have the link in the navbar.
A header content module would also work. Under some circumstances, it might make sense to have it replace the logo module. Exactly which implementation you choose would be dependent on how you want the design to look. For example, if you want it in the navbar, then a a navbar module would be the way to go. If you want it integrated with the logo of the site, replace the logo module. If you want it somewhere else in the header, then perhaps a header content module.
If you want more connection than just a link, that would add more complexity.
-
- VIP Member
- Posts: 304
- Joined: Mon Oct 26, 2020 5:26 pm
- Has thanked: 42 times
- Been thanked: 9 times
Re: Best way to connect my Phoenix sites to each other?
Yes that is exactly what I want. I was looking for best practices. I just hope I don't run into any problems with external linking.If you just want a link, a navbar module will work so long as you are satisfied to have the link in the navbar