Setting up for a section of my site where the layout is different from the root master page. How do

mun yung kan asked on December 24, 2015 04:05

Hi Guys,

i'm implementing a section of a site where the layout is totally different from the main site.

the path is supposed to be like this "http://www.mainsite.com/special-section"

in my content tree i have the nodes nested as such

Root (site masterpage template)
  -> Home (homepage template)
    -> special-section (special masterpage template)
       -> special-section-page (special section page template)

i've added my new headers/footers webparts, head html elements to my special masterpage template.

I have applied the special masterpage template on the microsite-section node, and added a few widgets to it as well as a page placeholder

my special-section page is inheriting the widgets as well, which i do not want.

Have i setup my content tree wrongly? is there a way to maintain the url and use master pages?

Correct Answer

mun yung kan answered on December 28, 2015 03:45

Ok. I learned about a new feature today.

i was unaware that webpart zones have a property that hides them from child pages.

i've applied that to the widget zones i want hidden from my child pages, and everything is fine now.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Brenden Kehren answered on December 24, 2015 05:57

Set that page template's property to be a "master page" on the general tab. Then set the inheritance to NONE.

You'll also want to make sure you remove the stylesheet from the Site properties and add it manually with the HEAD HTML webpart on both the main master page and the special master page.

2 votesVote for this answer Mark as a Correct answer

mun yung kan answered on December 24, 2015 08:04

Thanks for the quick response as usual brenden!

by inheritence, do you mean the "Page Nesting" section in the general tab?

once you select master page on the template, that option is no longer available.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on December 24, 2015 09:21

Then what I'd do is just set it to None first and save it, then set it as a master page. Don't think it matters really as the master page checkbox should handle all of that.

1 votesVote for this answer Mark as a Correct answer

mun yung kan answered on December 28, 2015 03:35

thanks brenden.

I have set the master template to be a master page with no nesting. i applied the master template to the page special-section

i then created a new template for the special-section's child pages, i have set its nesting to "nearest master page"

the child pages are inheriting the webparts fine, but what i don't want it to do is inherit the widgets.

if i set the child page's nesting to none, then the users have to setup the headers and footers for every page, which isin't ideal.

what am i doing wrong here?

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.