+ All Categories
Home > Documents > Branding with SharePoint 2010

Branding with SharePoint 2010

Date post: 11-Feb-2016
Category:
Upload: yeva
View: 33 times
Download: 0 times
Share this document with a friend
Description:
Branding with SharePoint 2010. Welcome!. Agenda. Feel free to ask questions at any time!. Introduction Goals & Objectives What is Branding Key Concepts What’s new in SharePoint 2010 Demo Branding Projects Q/A. About Me. Cardinal Solutions Group: SharePoint Developer - PowerPoint PPT Presentation
Popular Tags:
42
Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com Branding with SharePoint 2010 Welcome!
Transcript
Page 1: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

Branding with SharePoint 2010

Welcome!

Page 2: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

Agenda

• Introduction• Goals & Objectives• What is Branding• Key Concepts• What’s new in SharePoint 2010• Demo• Branding Projects• Q/A

Feel free to ask questions at any

time!

Page 3: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

About Me

• Cardinal Solutions Group:–SharePoint Developer

• MCTS: WSS & MOSS Configuration• [email protected]• www.matthuber.com• Twitter: @Huber84

Page 4: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

Goals and Objectives• To gain a better understanding of what branding is

in SharePoint• To show that branding can enhance your

SharePoint experience• To give you some ideas on how you can brand your

environment• To show how branding solutions are

created.

Page 5: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

?

Page 6: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

Agenda

What is branding SharePoint?

Page 7: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

In a nutshell• Customization of the ‘look & feel’ in SharePoint• Making SharePoint not look like SharePoint• Design Elements:

– Images– Color Palette– Tag lines, Titles– Layout

Page 8: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

What gets branded?

Page 9: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

Page 10: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

Page 11: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

Page 12: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

Page 13: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

Page 14: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

What are the benefits of branding?• Provide a consistent look & feel across all

SharePoint sites• Can enhance your SharePoint experience• Show your brand’s colors/look applied to the

environment• In my opinion….creates ownership, better adoption

Page 15: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

Agenda

Key Concepts

Page 16: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

Components of Branding

• Master Pages• Page Layouts• CSS• Images• And more…

Page 17: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

What is a Master.page?

• Acts as a container to each page.– Includes: Navigation, Search, Logos, Site actions

controls and more

Page 18: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

Many, Many Master.pages• Upwards to 5-6 different master.pages

– Publishing, Teams, MySite, Search, Meeting Workspace

• Each contain different controls and custom actions related to that Site Definition

• Example: Search Center using a Team Site Master.page:

Page 19: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

What is a Page Layout?

• Contains zones for webparts and content to base Pages off of.

Page 20: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

Page Layouts

• Each page has a page layout• Has <asp:Content> tags that put content into

an associated <asp:ContentPlaceholder> on the master.page

Page 21: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

What is CSS?

• Cascading Style Sheets – is a simple way to add styles (fonts, colors, spacing) to web pages.

Page 22: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

CSS

• Multiple ways to apply CSS– External, Inline, in header

• SharePoint has a lot of CSS…75+ style sheets

Page 23: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

Create new or edit existing?• Never edit existing SharePoint files on the 14 hive

(filesystem)!• Create new branding assets in the 14 hive.• Create new CSS files that are called AFTER the

core.css and other SharePoint CSS files.

Page 24: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

Solution Architecture• Ghosted or UnGhosted solution?• Long story short…

– Ghosted customizations are compiled on the web server == faster, scalable, optimized

– UnGhosted customization are not compiled and pulled from the ContentDB == slower, individual sites

• Which one do we choose? It depends…

Page 25: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

Solution Architecture Cont.• Branding, by default, is not automatically applied• Resolved by Feature Stapling – activate features when

a site definition is invoked– Feature Stapler

• Listens for site definitions to be invoked, then applies a Feature when its called.

• Contains an event receiver to apply branding to each site collection when activated and un-apply when deactivated.

– Feature Staplee• Contains the branding artifacts and event receivers to apply the

brand.

Page 26: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

Feature Stapling with Branding Diagram

Team Site Created

Team Site Definition Invoked

Feature Activated on new

Team Site

Feature Event

Receiver “On

Activated” event fires

Branding is Applied

Page 27: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

Feature Event Receivers• Occur in two places:

– Farm (Stapler)• OnActivation – Add Feature to all sites that are not

administration sites

• OnDeactivation – Remove Feature for all sites that are not administration sites

– Site Collection (Staplee)• OnActivation – change SPWeb.CustomMasterUrl (front-end),

SPWeb.MasterUrl (back-end), and SPWeb.AlternateCSSUrl (Overriding Style Sheet) to the custom branding

• OnDeactivation – revert back to default branding.

Page 28: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

Lots of work…for these benefits:

• Automatic application of proper master.page when the site definition is invoked

• Automatic ‘reset’ of master.pages when Features are deactivated

• No modification of SharePoint default files.• Clean application, Clean removal, and no

need to manually apply branding per site collection.

Page 29: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

Tools

• IE Developer Toolbar• Firebug• Multiple Browsers• Notepad++ or a compare tool• SharePoint Designer• PowerShell

Page 30: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

Agenda

What’s new in SharePoint 2010

Page 31: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

The Good

• Bland default brand. No branding from the Cornflower Blue theme

• Export PowerPoint Theme and upload to SharePoint

• Better cross-browser compliancy

Page 32: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

The Bad, & The Ugly

• Some site definitions run off of a completely different set of styles

• To create teamsite layouts, need to Activate the publishing Features

• New sub-sites don’t automatically inherit the parent-site’s branding

Page 33: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

Agenda

Demo

Page 34: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

Tips & Tricks

• Use Starter Master.pages– Available on codeplex

• Use S4-NotDlg css class to exclude items from the Modal Popup window

• Achieving rounded web part corners are much easier

• Web Parts can have different styles…per Web Part Zone

Page 35: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

Agenda

Branding Projects

Page 36: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

Approx. breakdown of a project

Planning/Design Development TestingRollout Support

Page 37: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

Planning & Design• Determine colors/styles/font/layout/etc.• The Designer works with the developer to make

sure SharePoint components are covered.• Target browsers and resolutions• Main “Mockup(s)” produced

Page 38: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

Development• Implement the mockup• Create master.page, CSS, and page layouts.

– Custom web part dev might occur…if the brand requires it

• Use tools to test multiple page types and the solution.

Page 39: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

Testing• VERY Important!• Have multiple testers because some people pay

more attention to detail than others.• Be particular

– Look for pixel errors, font inconsistencies, color mis-matches

• Track issues

Page 40: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

Rollout & Support• Applying branding won’t change content…think of it

as a mask you can put on and take off.• There are 1000’s of lines of code in style sheets and

master.pages…so issues might show up.

Page 42: Branding with SharePoint 2010

Copyright 2010 Cardinal Solutions Group www.cardinalsolutions.com

Agenda

Thank YouAny Questions?


Recommended