13.07.2015 Views

Microsoft SharePoint. Building Office 2007 Solutions in VB 2005 ...

Microsoft SharePoint. Building Office 2007 Solutions in VB 2005 ...

Microsoft SharePoint. Building Office 2007 Solutions in VB 2005 ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

176CHAPTER 5 ■ SHAREPOINT CONTENT DEVELOPMENT AND MANAGEMENTCreat<strong>in</strong>g New Master PagesIn addition to the default and application master pages, you may also associate page layoutswith custom master pages. For example, many of the pages <strong>in</strong> the Publish<strong>in</strong>g Portal templateuse the TopNavFlyouts master page. This master page was designed to be the foundation forall of the public content pages that appear on the site. Creat<strong>in</strong>g a custom master page givesyou the most control over the look and feel of a site. If you are us<strong>in</strong>g <strong>SharePo<strong>in</strong>t</strong> to create apublic Internet site, you will def<strong>in</strong>itely want to create a set of custom master pages. This isreally the only way to achieve the level of design control needed for most Internet projects.Unfortunately, there is no way <strong>in</strong> <strong>SharePo<strong>in</strong>t</strong> to start with a blank slate and design yoursite. This is because both <strong>SharePo<strong>in</strong>t</strong> and the WCM feature assume a certa<strong>in</strong> <strong>in</strong>frastructure is<strong>in</strong> place when process<strong>in</strong>g master pages and page layouts. Furthermore, there is no “BlankWCM Site” template that gives you everyth<strong>in</strong>g you need for your own custom master page.This is a terrible shortcom<strong>in</strong>g <strong>in</strong> my op<strong>in</strong>ion, but we can compensate by develop<strong>in</strong>g our ownblank master page that meets just the m<strong>in</strong>imum requirements of the <strong>SharePo<strong>in</strong>t</strong> <strong>in</strong>frastructure.List<strong>in</strong>g 5-1 shows a complete master page, available <strong>in</strong> the MOSS SDK, that you can useas the basis for your own custom look and feel.List<strong>in</strong>g 5-1. A M<strong>in</strong>imal Master Page

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!