‘Normal’ pages are just ASPX pages. They usually (but don’t have to) use a master page, and we’ll consider them in that way. First let’s look at a good example – the Default.aspx of a Team Site.
Looking at this in SharePoint Designer we see the following:
On the left we see that our page just exists underneath our Team site – it isn’t in a Library or anything. On the right we see SharePoint Designer shows us the master page that the page uses at the top of the page, and what the page would look like. You can see the PlaceHolderMain placeholder is highlighted, and unlike the master page, this one has content. I’ve also circled where the PlaceHolderTitleBreadcrumb placeholder is, and this is now empty. So where did this content come from?
If an aspx page uses a master page then it says so in it’s code, and it defines a number of content controls. These content controls match up with the placeholder’s in the master page, and define the content to put in there. If we look at the code (don’t panic!):
Here we see the content being defined for the our PlaceHolderTitleBreadcrumb (the new content is ‘nothing’, and so our breadcrumb is effectively being erased), and our PlaceHolderMain (which contains lots of code for 2 web-part zones, etc.).
So, just to reiterate, a typical page in SharePoint defines content that is put into a master page. The process is something like this:
| Intro | Master Pages | Normal Pages | Publishing Pages | Application Pages | Forms Pages |
One thought on “Pages in SharePoint III – ‘Normal’ Pages”
[…] Intro | Master Pages | Normal Pages | Publishing Pages | Application Pages | Forms Pages […]