Jan 30, 2014 at 7:29 AM
Edited Jan 30, 2014 at 7:35 AM
What you can do is use a "nested" master page.
In that nested master page have two or three place holders.
- For YAF Forum
In the code behind have it set the place holder to visible based on URL rules like this:
If query string contains = MainWebsite/forum ---> PlaceHolder-YAF visible = True
If query string contains = MainWebsite/blog ---> PlaceHolder-BlogEngine.Net visible = True
MainSite-PlaceHolder visible = true
Using a Nested Master page instead of having it switch to a complete different master pages
if query = forum --> Yaf master page
If query = blog --> BlogEngine.net master page
Having a "nested" master page allows you to have a "global" theme that is applied to your entire website like
your Top menu and footer.
All that changes is the middle part for your Blog or Forum.
For your YAF and BlogEngine.net master pages if you want a "Global" theme with your nested master page,
you would need to delete the top menu and footers from YAF and BlogEngine.net or edit them so that when the global header and footer is displayed it is universal across your entire website instead of having 2 or 3 websites with in one.
Have a great day!