SlideShare une entreprise Scribd logo
1  sur  21
SharePoint Advocate and
Enthusiast
PixelMill
ERIC OVERFIELD | @ericoverfield
CREATE YOUR
OWN SHAREPOINT
MASTER PAGES AND
PAGE LAYOUTS
Wednesday August
26th
8:30 AM – 9:45 AM
Founder and SharePoint Branding/UI Lead, PixelMill
Speaker, Teacher, Advocate, Author
SharePoint Community Organizer
Located in Davis, CA
Co-author: “Black Magic Solutions for White Hat
SharePoint”
(August, 2013)
Co-author: “Pro SharePoint 2013 Branding and Responsive Web
Development”
(Apress – June 12th, 2013)
Order Your Copy
http://pxml.ly/zsqykd
INTRODUCTION
ericoverfield.com @ericoverfield
WHAT YOU WILL LEARN TODAY
1
2
3
ericoverfield.com @ericoverfield
TRADITIONAL MASTER PAGE AND PAGE LAYOUT OVERVIEW
DESIGN MANAGER: HTML MASTER PAGES & HTML PAGE LAYOUTS
DEMOS, IMPORTANT CONTROLS AND CONCEPTS
TRADITIONAL SHAREPOINT MASTER PAGES
 Provides main HTML wrapper used by all pages
 Defines HTML <html />, <head /> and <body /> tags
 Loads resources such as JS and CSS files
 Defines page flow and shared page components
 Header, footer, logo, navigation, suite bar / ribbon, etc.
 Uses ContentPlaceHolders for replaceable areas
 OOTB, no longer uses tables for layout!
ericoverfield.com @ericoverfield
MASTER PAGE COMPONENTS
ericoverfield.com @ericoverfield
Suite Bar
Ribbon
Header
Current Nav
Page Wrapper
TRADITIONAL SHAREPOINT MASTER PAGES BEST PRACTICES
 Start with seattle.master, oslo.master or a starter Master Page
 Always include all ContentPlaceHolders found in seattle.master
 Use hidden <div /> to hide unneeded ContentPlaceHolders
 Keep the suite bar / ribbon at the top of the page
 Replace <PublishingRibbon:PublishingRibbon /> if more control needed
 Include your custom layout HTML within #s4-workspace
 Must use <SharePoint:AjaxDelta /> blocks to allow for MDS
 Must register tag prefixes to access SharePoint and .Net controls
ericoverfield.com @ericoverfield
DEMO
TRADITIONAL
MASTER PAGES
TRADITIONAL SHAREPOINT PAGE LAYOUTS
 Specific to Publishing sites
 Defines content layout for a given page
 Contains “Content” blocks that link to Master Page
 Does not contain <html />, <head />, <body /> and other common tags
 Associated with a Content Type
 May surface Content Type columns
ericoverfield.com @ericoverfield
PAGE LAYOUT COMPONENTS
ericoverfield.com @ericoverfield
Site Columns
Snippets
Content Place Holder
TRADITIONAL SHAREPOINT PAGE LAYOUTS BEST PRACTICES
 Start with an existing page layout
 Stick with same content type if possible
 Always keep custom code within <asp:Content /> blocks
 Consider different content viewing and authoring experiences
 Use <Publishing:EditModePanel /> controls
 Bake in specific rollup webparts, or default webparts in webpart zones
 Must register tag prefixes to access SharePoint and .Net controls
ericoverfield.com @ericoverfield
DEMO
TRADITIONAL
PAGE LAYOUTS
THE NEW SHAREPOINT
BRANDING TOOL
DESIGN MANAGER
DESIGN MANAGER OVERVIEW
 New to SharePoint 2013
 Requires Publishing Infrastructure
 Import a HTML prototype directly into SharePoint
 SharePoint handles conversion
 Interface for custom Master Pages and Page Layouts
 Also includes Display Templates and Device Channels
 No longer limited by SharePoint Designer
ericoverfield.com @ericoverfield
HTML MASTER PAGES
 Convert a HTML prototype directly into SharePoint
 Some assembly required – Snippet Gallery
ericoverfield.com @ericoverfield
HTML PAGE LAYOUTS
 Must derive from a Master Page
 Also tied to Content Types / custom Content Types
 Also uses Snippets and Snippet Manager
 Much easier way to include SharePoint controls
 Only edit what is in “Content” blocks
ericoverfield.com @ericoverfield
DESIGN MANAGER BEST PRACTICES
 Only edit the .html files – SharePoint controls the .master and .aspx
 Only rename, move, delete, check out, publish, etc the .html files even
 HTML Master Pages manage unneeded ContentPlaceHolders!
 The Snippet Gallery and snippets are your friend
 All code must be valid HTML / XML, thus why controls are “comments”
 SharePoint may mangle your HTML, bummer
ericoverfield.com @ericoverfield
DEMO
DESIGN MANAGER
HTML MASTER PAGES
HTML PAGE LAYOUTS
IMPORTANT CONTROLS AND TAGS
 Found in Microsoft.SharePoint.WebControls
 <SharePoint:SPSecurityTrimmedControl /> - AuthenticationRestrictions, HideFromSearchCrawler, EmitDiv
 <SharePoint:FieldValue /> - FieldName (ID or Internal Name)
 <SharePoint:TextField /> - FieldName, InputFieldLabel (for editing)
 Found in Microsoft.SharePoint.Publishing.WebControls
 <Publishing:EditModePanel /> - PageDisplayMode, GroupingText, SuppressTag (doesn’t do what you think)
 <Publishing:RichHtmlField /> - FieldName, InputFieldLabel (for editing), AllowFonts (and many more)
 References Src="~/_controltemplates/15/Ribbon.ascx"
 <PublishingRibbon:PublishingRibbon /> - Great for Office 365
ericoverfield.com @ericoverfield
A QUICK REVIEW
1 TRADITIONAL MASTER PAGE AND PAGE LAYOUT OVERVIEW
2 DESIGN MANAGER: HTML MASTER PAGES & HTML PAGE LAYOUTS
3 DEMOS, IMPORTANT CONTROLS AND CONCEPTS
ericoverfield.com @ericoverfield
RESOURCES
ericoverfield.com @ericoverfield
Starter on learning SharePoint Branding
http://pxml.ly/1CHNXKc
SharePoint 2013 Starter Master Pages
http://pxml.ly/1uFeG8Z
SharePoint 2013 Design Manager branding and design capabilities
http://pxml.ly/1vBC3PD
Responsive Frameworks for SharePoint 2010 and 2013
http://responsivesharepoint.codeplex.com
SP Blueprint for SharePoint 2013
http://pxml.ly/1ql6Dqa
Master pages, the Master Page Gallery, and page layouts in SharePoint 2013
http://pxml.ly/1rBdcLJ
CREATE YOUR OWN
SHAREPOINT MASTER PAGES
AND PAGE LAYOUTS
THANK YOU
QUESTIONS?
@ericoverfield
SPTechCon Boston 2015
http://pxml.ly/EO-MP-PL
Order Your Copy
http://pxml.ly/zsqykd
“Pro SharePoint 2013 Branding and Responsive Web Development”
(Apress – June 12th, 2013)

Contenu connexe

Tendances

Developing branding solutions for 2013
Developing branding solutions for 2013Developing branding solutions for 2013
Developing branding solutions for 2013
Thomas Daly
 

Tendances (20)

Fulfilling the promise of Responsive Design with SharePoint 2013
Fulfilling the promise of Responsive Design with SharePoint 2013Fulfilling the promise of Responsive Design with SharePoint 2013
Fulfilling the promise of Responsive Design with SharePoint 2013
 
Branding Deployment in Office 365 and SharePoint 2013/2016
Branding Deployment in Office 365 and SharePoint 2013/2016Branding Deployment in Office 365 and SharePoint 2013/2016
Branding Deployment in Office 365 and SharePoint 2013/2016
 
The A to Z of Building a Responsive SharePoint Site with Bootstrap
The A to Z of Building a Responsive SharePoint Site with BootstrapThe A to Z of Building a Responsive SharePoint Site with Bootstrap
The A to Z of Building a Responsive SharePoint Site with Bootstrap
 
Branding SharePoint 2013
Branding SharePoint 2013Branding SharePoint 2013
Branding SharePoint 2013
 
Style guide for share point 2013 branding
Style guide for share point 2013 brandingStyle guide for share point 2013 branding
Style guide for share point 2013 branding
 
Enhance SharePoint 2013 with Responsive Web Design
Enhance SharePoint 2013 with Responsive Web DesignEnhance SharePoint 2013 with Responsive Web Design
Enhance SharePoint 2013 with Responsive Web Design
 
SharePoint Branding From Start to Finish
SharePoint Branding From Start to FinishSharePoint Branding From Start to Finish
SharePoint Branding From Start to Finish
 
Microsoft Ignite 2016 In Review
Microsoft Ignite 2016 In ReviewMicrosoft Ignite 2016 In Review
Microsoft Ignite 2016 In Review
 
Branding sharepoint project
Branding sharepoint projectBranding sharepoint project
Branding sharepoint project
 
SharePoint master pages in 2013 and managed metadata magic
SharePoint master pages in 2013 and managed metadata magicSharePoint master pages in 2013 and managed metadata magic
SharePoint master pages in 2013 and managed metadata magic
 
Popping the Hood: How to Create Custom SharePoint Branding by Randy Drisgill ...
Popping the Hood: How to Create Custom SharePoint Branding by Randy Drisgill ...Popping the Hood: How to Create Custom SharePoint Branding by Randy Drisgill ...
Popping the Hood: How to Create Custom SharePoint Branding by Randy Drisgill ...
 
Broaden your dev skillset with SharePoint branding options
Broaden your dev skillset with SharePoint branding optionsBroaden your dev skillset with SharePoint branding options
Broaden your dev skillset with SharePoint branding options
 
Intro to Branding SharePoint 2013
Intro to Branding SharePoint 2013Intro to Branding SharePoint 2013
Intro to Branding SharePoint 2013
 
Enhancing SharePoint with Responsive Web Design
Enhancing SharePoint with Responsive Web DesignEnhancing SharePoint with Responsive Web Design
Enhancing SharePoint with Responsive Web Design
 
SharePoint 2013 Client-Side Rendering (CSR) & JSLink Templates
SharePoint 2013 Client-Side Rendering (CSR) & JSLink TemplatesSharePoint 2013 Client-Side Rendering (CSR) & JSLink Templates
SharePoint 2013 Client-Side Rendering (CSR) & JSLink Templates
 
Developing branding solutions for 2013
Developing branding solutions for 2013Developing branding solutions for 2013
Developing branding solutions for 2013
 
Reshaping SharePoint for Evolving Internet Devices
Reshaping SharePoint for Evolving Internet DevicesReshaping SharePoint for Evolving Internet Devices
Reshaping SharePoint for Evolving Internet Devices
 
Uncovering the Latest in SharePoint Development
Uncovering the Latest in SharePoint DevelopmentUncovering the Latest in SharePoint Development
Uncovering the Latest in SharePoint Development
 
SharePoint Branding - Change Your Look
SharePoint Branding - Change Your LookSharePoint Branding - Change Your Look
SharePoint Branding - Change Your Look
 
SharePoint 2013 Branding
SharePoint 2013 BrandingSharePoint 2013 Branding
SharePoint 2013 Branding
 

En vedette

SharePoint Saturday Houston: SharePoint 2010 Extranets & Claims Authentication
SharePoint Saturday Houston: SharePoint 2010 Extranets & Claims AuthenticationSharePoint Saturday Houston: SharePoint 2010 Extranets & Claims Authentication
SharePoint Saturday Houston: SharePoint 2010 Extranets & Claims Authentication
Brian Culver
 
Osc share point_2010_roundtable
Osc share point_2010_roundtable Osc share point_2010_roundtable
Osc share point_2010_roundtable
Lee_Ralph
 
Osc share point 2010 make you intranet successful - 17th feb 2012 - public
Osc   share point 2010 make you intranet successful - 17th feb 2012 - publicOsc   share point 2010 make you intranet successful - 17th feb 2012 - public
Osc share point 2010 make you intranet successful - 17th feb 2012 - public
Lee_Ralph
 

En vedette (20)

SharePoint Saturday Houston: SharePoint 2010 Extranets & Claims Authentication
SharePoint Saturday Houston: SharePoint 2010 Extranets & Claims AuthenticationSharePoint Saturday Houston: SharePoint 2010 Extranets & Claims Authentication
SharePoint Saturday Houston: SharePoint 2010 Extranets & Claims Authentication
 
Secrets of successful SharePoint Intranets
Secrets of successful SharePoint IntranetsSecrets of successful SharePoint Intranets
Secrets of successful SharePoint Intranets
 
MySites
MySitesMySites
MySites
 
Sharepoint 2013 My Site Governance
Sharepoint 2013 My Site GovernanceSharepoint 2013 My Site Governance
Sharepoint 2013 My Site Governance
 
Designing Intuitive SharePoint Sites: The Science of "Easy to Use"
Designing Intuitive SharePoint Sites: The Science of "Easy to Use" Designing Intuitive SharePoint Sites: The Science of "Easy to Use"
Designing Intuitive SharePoint Sites: The Science of "Easy to Use"
 
Osc share point_2010_roundtable
Osc share point_2010_roundtable Osc share point_2010_roundtable
Osc share point_2010_roundtable
 
Osc share point 2010 make you intranet successful - 17th feb 2012 - public
Osc   share point 2010 make you intranet successful - 17th feb 2012 - publicOsc   share point 2010 make you intranet successful - 17th feb 2012 - public
Osc share point 2010 make you intranet successful - 17th feb 2012 - public
 
IBM quarterly financials infobomb
IBM quarterly financials infobombIBM quarterly financials infobomb
IBM quarterly financials infobomb
 
Governance for SharePoint intranets
Governance for SharePoint intranetsGovernance for SharePoint intranets
Governance for SharePoint intranets
 
How to use a SharePoint Team Site effectively for Collaboration
How to use a SharePoint Team Site effectively for CollaborationHow to use a SharePoint Team Site effectively for Collaboration
How to use a SharePoint Team Site effectively for Collaboration
 
How design is transforming modern intranets
How design is transforming modern intranetsHow design is transforming modern intranets
How design is transforming modern intranets
 
Branding office 365 Netherlands
Branding office 365 NetherlandsBranding office 365 Netherlands
Branding office 365 Netherlands
 
Branding office 365 copenhagen
Branding office 365 copenhagenBranding office 365 copenhagen
Branding office 365 copenhagen
 
Office 365 branding webinar
Office 365 branding webinarOffice 365 branding webinar
Office 365 branding webinar
 
SharePoint Framework, React, and Office UI sps Silicon Valley
SharePoint Framework, React, and Office UI sps Silicon ValleySharePoint Framework, React, and Office UI sps Silicon Valley
SharePoint Framework, React, and Office UI sps Silicon Valley
 
How We Did It - GreatAmerica's Nontraditional Site Structure
How We Did It - GreatAmerica's Nontraditional Site StructureHow We Did It - GreatAmerica's Nontraditional Site Structure
How We Did It - GreatAmerica's Nontraditional Site Structure
 
Branding Office 365 SharePoint Days
Branding Office 365 SharePoint DaysBranding Office 365 SharePoint Days
Branding Office 365 SharePoint Days
 
Design Manager 2013
Design Manager 2013  Design Manager 2013
Design Manager 2013
 
European SharePoint Webinar - Make SharePoint Sassy
European SharePoint Webinar - Make SharePoint SassyEuropean SharePoint Webinar - Make SharePoint Sassy
European SharePoint Webinar - Make SharePoint Sassy
 
Branding office 365
Branding office 365Branding office 365
Branding office 365
 

Similaire à Create your own SharePoint Master Pages and Page Layouts

Developing and Deploying Custom Branding Solutions in SharePoint 2010
Developing and Deploying Custom Branding Solutions in SharePoint 2010Developing and Deploying Custom Branding Solutions in SharePoint 2010
Developing and Deploying Custom Branding Solutions in SharePoint 2010
jhendrix88
 
Intro to ExpressionEngine and CodeIgniter
Intro to ExpressionEngine and CodeIgniterIntro to ExpressionEngine and CodeIgniter
Intro to ExpressionEngine and CodeIgniter
brightrocket
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
yht4ever
 
Web Page Authoring 1
Web Page Authoring 1Web Page Authoring 1
Web Page Authoring 1
yht4ever
 

Similaire à Create your own SharePoint Master Pages and Page Layouts (20)

Integrating Search Driven Content in SharePoint 2013/2016/O365
Integrating Search Driven Content in SharePoint 2013/2016/O365Integrating Search Driven Content in SharePoint 2013/2016/O365
Integrating Search Driven Content in SharePoint 2013/2016/O365
 
Intro to Design Manager
Intro to Design ManagerIntro to Design Manager
Intro to Design Manager
 
Product Catalog and IT Service Management
Product Catalog and IT Service ManagementProduct Catalog and IT Service Management
Product Catalog and IT Service Management
 
Shreyansh_patni web developer
Shreyansh_patni web developerShreyansh_patni web developer
Shreyansh_patni web developer
 
Developing and Deploying Custom Branding Solutions in SharePoint 2010
Developing and Deploying Custom Branding Solutions in SharePoint 2010Developing and Deploying Custom Branding Solutions in SharePoint 2010
Developing and Deploying Custom Branding Solutions in SharePoint 2010
 
The SharePoint & jQuery Guide
The SharePoint & jQuery GuideThe SharePoint & jQuery Guide
The SharePoint & jQuery Guide
 
The SharePoint and jQuery Guide by Mark Rackley - SPTechCon
The SharePoint and jQuery Guide by Mark Rackley - SPTechConThe SharePoint and jQuery Guide by Mark Rackley - SPTechCon
The SharePoint and jQuery Guide by Mark Rackley - SPTechCon
 
Intro to ExpressionEngine and CodeIgniter
Intro to ExpressionEngine and CodeIgniterIntro to ExpressionEngine and CodeIgniter
Intro to ExpressionEngine and CodeIgniter
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Web Page Authoring 1
Web Page Authoring 1Web Page Authoring 1
Web Page Authoring 1
 
Share point 2013 Building Websites
Share point 2013 Building WebsitesShare point 2013 Building Websites
Share point 2013 Building Websites
 
Html5 css3
Html5 css3Html5 css3
Html5 css3
 
No Feature Solutions with SharePoint
No Feature Solutions with SharePointNo Feature Solutions with SharePoint
No Feature Solutions with SharePoint
 
HTML5 - Web Development Fundaments Part 1 - DeepDive Learning Academy
HTML5 - Web Development Fundaments Part 1 - DeepDive Learning AcademyHTML5 - Web Development Fundaments Part 1 - DeepDive Learning Academy
HTML5 - Web Development Fundaments Part 1 - DeepDive Learning Academy
 
HTML Coding #01 : Don't Fear the Code
HTML Coding #01 : Don't Fear the CodeHTML Coding #01 : Don't Fear the Code
HTML Coding #01 : Don't Fear the Code
 
Developing Branding Solutions for 2013
Developing Branding Solutions for 2013Developing Branding Solutions for 2013
Developing Branding Solutions for 2013
 
Step into the SharePoint branding world, tools and techniques
Step into the SharePoint branding world, tools and techniquesStep into the SharePoint branding world, tools and techniques
Step into the SharePoint branding world, tools and techniques
 
Web technologies-course 02.pptx
Web technologies-course 02.pptxWeb technologies-course 02.pptx
Web technologies-course 02.pptx
 
HTML Fundamentals
HTML FundamentalsHTML Fundamentals
HTML Fundamentals
 

Plus de Eric Overfield

Plus de Eric Overfield (10)

The Adventures of Azure Functions and Microsoft Graph
The Adventures of Azure Functions and Microsoft GraphThe Adventures of Azure Functions and Microsoft Graph
The Adventures of Azure Functions and Microsoft Graph
 
All You Need to Know for Automated SharePoint Site Provisioning with PnP Powe...
All You Need to Know for Automated SharePoint Site Provisioning with PnP Powe...All You Need to Know for Automated SharePoint Site Provisioning with PnP Powe...
All You Need to Know for Automated SharePoint Site Provisioning with PnP Powe...
 
Use Office UI Fabric React to Build Beauty with SharePoint
Use Office UI Fabric React to Build Beauty with SharePointUse Office UI Fabric React to Build Beauty with SharePoint
Use Office UI Fabric React to Build Beauty with SharePoint
 
Supercharge Your SharePoint Framework Webpart with React
Supercharge Your SharePoint Framework Webpart with ReactSupercharge Your SharePoint Framework Webpart with React
Supercharge Your SharePoint Framework Webpart with React
 
Build Your First SharePoint Framework Webpart
Build Your First SharePoint Framework WebpartBuild Your First SharePoint Framework Webpart
Build Your First SharePoint Framework Webpart
 
Use office ui fabric react to build beauty with SharePoint
Use office ui fabric react to build beauty with SharePointUse office ui fabric react to build beauty with SharePoint
Use office ui fabric react to build beauty with SharePoint
 
Move past bootstrap and build our lightweight responsive framework w.v1.2
Move past bootstrap and build our lightweight responsive framework w.v1.2Move past bootstrap and build our lightweight responsive framework w.v1.2
Move past bootstrap and build our lightweight responsive framework w.v1.2
 
Who Needs A Developer For Automated SharePoint Provisioning
Who Needs A Developer For Automated SharePoint ProvisioningWho Needs A Developer For Automated SharePoint Provisioning
Who Needs A Developer For Automated SharePoint Provisioning
 
Share point 2013 apps and i mean it
Share point 2013 apps and i mean itShare point 2013 apps and i mean it
Share point 2013 apps and i mean it
 
The Design Dilemma of Mobile and SharePoint
The Design Dilemma of Mobile and SharePointThe Design Dilemma of Mobile and SharePoint
The Design Dilemma of Mobile and SharePoint
 

Dernier

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Dernier (20)

DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 

Create your own SharePoint Master Pages and Page Layouts

  • 1. SharePoint Advocate and Enthusiast PixelMill ERIC OVERFIELD | @ericoverfield CREATE YOUR OWN SHAREPOINT MASTER PAGES AND PAGE LAYOUTS Wednesday August 26th 8:30 AM – 9:45 AM
  • 2. Founder and SharePoint Branding/UI Lead, PixelMill Speaker, Teacher, Advocate, Author SharePoint Community Organizer Located in Davis, CA Co-author: “Black Magic Solutions for White Hat SharePoint” (August, 2013) Co-author: “Pro SharePoint 2013 Branding and Responsive Web Development” (Apress – June 12th, 2013) Order Your Copy http://pxml.ly/zsqykd INTRODUCTION ericoverfield.com @ericoverfield
  • 3. WHAT YOU WILL LEARN TODAY 1 2 3 ericoverfield.com @ericoverfield TRADITIONAL MASTER PAGE AND PAGE LAYOUT OVERVIEW DESIGN MANAGER: HTML MASTER PAGES & HTML PAGE LAYOUTS DEMOS, IMPORTANT CONTROLS AND CONCEPTS
  • 4. TRADITIONAL SHAREPOINT MASTER PAGES  Provides main HTML wrapper used by all pages  Defines HTML <html />, <head /> and <body /> tags  Loads resources such as JS and CSS files  Defines page flow and shared page components  Header, footer, logo, navigation, suite bar / ribbon, etc.  Uses ContentPlaceHolders for replaceable areas  OOTB, no longer uses tables for layout! ericoverfield.com @ericoverfield
  • 5. MASTER PAGE COMPONENTS ericoverfield.com @ericoverfield Suite Bar Ribbon Header Current Nav Page Wrapper
  • 6. TRADITIONAL SHAREPOINT MASTER PAGES BEST PRACTICES  Start with seattle.master, oslo.master or a starter Master Page  Always include all ContentPlaceHolders found in seattle.master  Use hidden <div /> to hide unneeded ContentPlaceHolders  Keep the suite bar / ribbon at the top of the page  Replace <PublishingRibbon:PublishingRibbon /> if more control needed  Include your custom layout HTML within #s4-workspace  Must use <SharePoint:AjaxDelta /> blocks to allow for MDS  Must register tag prefixes to access SharePoint and .Net controls ericoverfield.com @ericoverfield
  • 8. TRADITIONAL SHAREPOINT PAGE LAYOUTS  Specific to Publishing sites  Defines content layout for a given page  Contains “Content” blocks that link to Master Page  Does not contain <html />, <head />, <body /> and other common tags  Associated with a Content Type  May surface Content Type columns ericoverfield.com @ericoverfield
  • 9. PAGE LAYOUT COMPONENTS ericoverfield.com @ericoverfield Site Columns Snippets Content Place Holder
  • 10. TRADITIONAL SHAREPOINT PAGE LAYOUTS BEST PRACTICES  Start with an existing page layout  Stick with same content type if possible  Always keep custom code within <asp:Content /> blocks  Consider different content viewing and authoring experiences  Use <Publishing:EditModePanel /> controls  Bake in specific rollup webparts, or default webparts in webpart zones  Must register tag prefixes to access SharePoint and .Net controls ericoverfield.com @ericoverfield
  • 12. THE NEW SHAREPOINT BRANDING TOOL DESIGN MANAGER
  • 13. DESIGN MANAGER OVERVIEW  New to SharePoint 2013  Requires Publishing Infrastructure  Import a HTML prototype directly into SharePoint  SharePoint handles conversion  Interface for custom Master Pages and Page Layouts  Also includes Display Templates and Device Channels  No longer limited by SharePoint Designer ericoverfield.com @ericoverfield
  • 14. HTML MASTER PAGES  Convert a HTML prototype directly into SharePoint  Some assembly required – Snippet Gallery ericoverfield.com @ericoverfield
  • 15. HTML PAGE LAYOUTS  Must derive from a Master Page  Also tied to Content Types / custom Content Types  Also uses Snippets and Snippet Manager  Much easier way to include SharePoint controls  Only edit what is in “Content” blocks ericoverfield.com @ericoverfield
  • 16. DESIGN MANAGER BEST PRACTICES  Only edit the .html files – SharePoint controls the .master and .aspx  Only rename, move, delete, check out, publish, etc the .html files even  HTML Master Pages manage unneeded ContentPlaceHolders!  The Snippet Gallery and snippets are your friend  All code must be valid HTML / XML, thus why controls are “comments”  SharePoint may mangle your HTML, bummer ericoverfield.com @ericoverfield
  • 17. DEMO DESIGN MANAGER HTML MASTER PAGES HTML PAGE LAYOUTS
  • 18. IMPORTANT CONTROLS AND TAGS  Found in Microsoft.SharePoint.WebControls  <SharePoint:SPSecurityTrimmedControl /> - AuthenticationRestrictions, HideFromSearchCrawler, EmitDiv  <SharePoint:FieldValue /> - FieldName (ID or Internal Name)  <SharePoint:TextField /> - FieldName, InputFieldLabel (for editing)  Found in Microsoft.SharePoint.Publishing.WebControls  <Publishing:EditModePanel /> - PageDisplayMode, GroupingText, SuppressTag (doesn’t do what you think)  <Publishing:RichHtmlField /> - FieldName, InputFieldLabel (for editing), AllowFonts (and many more)  References Src="~/_controltemplates/15/Ribbon.ascx"  <PublishingRibbon:PublishingRibbon /> - Great for Office 365 ericoverfield.com @ericoverfield
  • 19. A QUICK REVIEW 1 TRADITIONAL MASTER PAGE AND PAGE LAYOUT OVERVIEW 2 DESIGN MANAGER: HTML MASTER PAGES & HTML PAGE LAYOUTS 3 DEMOS, IMPORTANT CONTROLS AND CONCEPTS ericoverfield.com @ericoverfield
  • 20. RESOURCES ericoverfield.com @ericoverfield Starter on learning SharePoint Branding http://pxml.ly/1CHNXKc SharePoint 2013 Starter Master Pages http://pxml.ly/1uFeG8Z SharePoint 2013 Design Manager branding and design capabilities http://pxml.ly/1vBC3PD Responsive Frameworks for SharePoint 2010 and 2013 http://responsivesharepoint.codeplex.com SP Blueprint for SharePoint 2013 http://pxml.ly/1ql6Dqa Master pages, the Master Page Gallery, and page layouts in SharePoint 2013 http://pxml.ly/1rBdcLJ
  • 21. CREATE YOUR OWN SHAREPOINT MASTER PAGES AND PAGE LAYOUTS THANK YOU QUESTIONS? @ericoverfield SPTechCon Boston 2015 http://pxml.ly/EO-MP-PL Order Your Copy http://pxml.ly/zsqykd “Pro SharePoint 2013 Branding and Responsive Web Development” (Apress – June 12th, 2013)

Notes de l'éditeur

  1. Slides will be available from blog and twitter In-depth look at SharePoint Online and 2013 Master pages and page layouts. Will be working on SPO, but 2013 is the same. Devs should be happy, we will walk through the process. Business users, you will see what is possible. Meat will be in the demos http://www.zengardner.com/wp-content/uploads/Manifest-Law-of-Attraction1-700x471.jpg Who has already worked with RWD and SP? Thoughts? Scratch, framework, how did you do it?
  2. Will make available on blog and twitter (slideshare.net), so if you remember one of those then you can always review everything we discuss
  3. Build a custom master page
  4. Create page layout from demo, showing content blocks
  5. Web Distributed Authoring and Versioning
  6. Convert prototype for HTML Master page and HTML Page layout, including search results
  7. Thank You! Don’t forget to check out my blog where you can download this presentation or the recording. Easiest way to get to the material I referenced