Becoming a SharePoint Design Ninja

67
416-888-7777 [email protected] Becoming a SharePoint Design Ninja Kanwal Khipple BrightStarr

description

You are about to embark on a journey of becoming a SharePoint Designer Ninja. SharePoint has infiltrated within your company and you want to master the art of css, master pages and page layouts. Within this one hour session, I will teach you the countermeasures required to masterfully brand SharePoint to your will. During this session, we will brand a site from scratch with our bare hands and this will be the initiation into the SharePoint Design. At the end of this session, I’ll teach you legendary abilities of SharePoint Designers including invisibility, walking on water, and control over master page content placeholders. You’ll also be given some secrets from within the walls of the Oniwaban such as practical tips, tricks, and advice so that you too can one day become a SharePoint Design Ninja.http://www.kanwalkhipple.

Transcript of Becoming a SharePoint Design Ninja

Page 1: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Becoming a SharePoint Design Ninja

Kanwal KhippleBrightStarr

Page 2: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

About Me• Kanwal Khipple• BrightStarr.com• Passionate about designing

and optimizing SharePoint sites

Twitter @kkhipple

@sharepointbuzz

Page 3: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

About You

The SharePoint Person in your company

Designer Experience (100)• HTML• CSS• SharePoint Designer 2010

Developer Experience (100)• Visual Studio• .NET

Page 4: Becoming a SharePoint Design Ninja

416-888-7777 [email protected] 4

50% Of Top Intranet’s Use SharePointSOURCE: NIELSEN NORMAN GROUP

Secrets to Successful Branding

Page 5: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Agenda

• Why Brand SharePoint?• Tools for Branding• Advanced Tips & Tricks• Secrets to Successful Branding!

Page 6: Becoming a SharePoint Design Ninja

416-888-7777 [email protected] 6

WHAT IS BRANDING?

Page 7: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

SharePoint Branding Overview

Branding is more than adding a pretty header to your site and making it another color besides SharePoint blue

Page 8: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Page 9: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Ice Berg Principle

Page 10: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

WHAT’S NEWSharePoint 2010

Page 11: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

WCM Features• Status Bar• Themes• Server Ribbon• Tagging & Rating• Client OM

Page 12: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Accessibility Improvements

• Cross-browser support• Built-in support for keyboard navigation• WCAG 2.0 Level AA• Proper use of heading structures (H1, DIV, SPAN, etc.)

Page 13: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Browser Resolutions

Page 14: Becoming a SharePoint Design Ninja

416-888-7777 [email protected] 14

Page 15: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Browser Market Share

Page 16: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Supported Browsers• Internet Explorer 9– Coming in SharePoint 2010 Service Pack 1

• Internet Explorer 7-8 (32-bit)– IE Dev Toolbar (embedded in IE8+)

• Mozilla Firefox 3.6– FireBug (addon to Firefox)

• Safari 4.04• Google Chrome (Service Pack 1)– Coming in SharePoint 2010 Service Pack 1

http://spbuzz.it/sp2010browsers

Page 17: Becoming a SharePoint Design Ninja

416-888-7777 [email protected] 17

Here’s What You Get Out of the Box

Make It Not Look Like SharePointConsistent User Experience

Page 18: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

NEW INTERFACEDEMO

Page 19: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

What’s Involved?

• Information Architecture• Design• Wireframes• Branding• Page Layouts• Master Pages• HTML, CSS, JavaScript

Page 20: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Customization OptionsChange Site Logo, Format, Parts

Change Colors, Backgrounds, Fonts Edit CSS files

Change Page Layout and ContentEdit Master Pages

Edit Page Templates (SharePoint Server only)

Share Your Customization with Others Build Themes and Site Definitions

easyBrowser

SharePoint Designer

SPD + Visual Studio

complex

Page 21: Becoming a SharePoint Design Ninja

416-888-7777 [email protected] 21

Page 22: Becoming a SharePoint Design Ninja

416-888-7777 [email protected] 22

Page 23: Becoming a SharePoint Design Ninja

416-888-7777 [email protected] 23

Page 24: Becoming a SharePoint Design Ninja

416-888-7777 [email protected] 24

Page 25: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Page 26: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

What Do Your Users Want?

Page 27: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

http://spbuzz.it/sptopsiteshttp://spbuzz.it/bsdesigns

Page 28: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Agenda

• Why Brand SharePoint?• Tools for Branding• Advanced Tips & Tricks• Secrets to Successful Branding!

Page 29: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Wireframes1. Paper Prototyping2. Collaborative Wireframes

http://spbuzz.it/bmockupsdemo

Page 30: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

BALSAMIQ MOCKUPDEMO

Page 31: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Wireframes• Microsoft Visio Wireframe– http://spbuzz.it/sp2007visiotemplate

• Adobe PDF Wireframe– http://spbuzz.it/sp2007pdftemplate

• Photoshop PSD file– http://spbuzz.it/sp2007psdtemplate – http://spbuzz.it/sp2010psdtemplate

• Balsamiq Mockups wireframe– http://spbuzz.it/sp2010bmockupstemplate

Page 32: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

MASTER PAGES & PAGE LAYOUTSSharePoint Terminology

Page 33: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

What’s new with Master Pages• Placeholders the same between content and application pages• Master Page changes apply to Application (_layouts) pages• Greater use of DIV/CSS layouts -> Fewer Tables• XHTML Strict document type• Much better support for Accessibility• Cross-Browser support

Page 34: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

What’s the Same?What has not changed from SharePoint 2007• Complex nested page structures• Lots and lots of styles• Mostly same list of content placeholders• Inconsistent Web Part markup injection• Same default and custom master page tokens

Custom Master Pages:• Copy V4.master and tweak• Start with Minimal or the *Starter* Master Page

Page 35: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Master Pages• Team site master page• User content pages (lists\content pages\etc)• _layouts pages (site settings, etc)

v4.master

• For app experiences, like Search or Office Web Applications• If you do not need site navigation, do not have a ribbon• If your app needs the space

minimal.master

• For error pages or login pages• Not customizable, but pages can be replacedsimple.master

• Show site using legacy interface• No Ribbon, no fluencydefault.master

Page 37: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Master Page

Master Page

Page Layout

Page 38: Becoming a SharePoint Design Ninja

416-888-7777 [email protected] 38

Page 39: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Content Placeholders<asp:ContentPlaceholder ID="PlaceHolderLeftNavBar"> runat="server" />

Page 40: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Content PlaceholdersContent Placeholder Description

PlaceHolderAdditionalPageHeadUsed to add extra components such as JavaScript, Jscript, and Cascading Style Sheets in the head section of the page.

PlaceHolderBodyAreaClass The class of the body area. This placeholder is no longer used in SharePoint 2010.

PlaceHolderBodyLeftBorderThis placeholder does not appear as part of the interface but must be present for backward compatibility.

PlaceHolderBodyRightMarginThis placeholder does not appear as part of the interface but must be present for backward compatibility.

PlaceHolderCalendarNavigator The date picker used when a calendar is visible on the page.

http://spbuzz.it/sp2010dcph

Page 41: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

MASTER PAGES & PAGE LAYOUTSDEMO

Page 42: Becoming a SharePoint Design Ninja

416-888-7777 [email protected] 43

Page 43: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

THEMESSharePoint Terminology

Page 44: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Themes

• 12 colors, 2 Fonts• Control look and feel of your site• Uses Office theme (.thmx files)• Create theme via PowerPoint

Page 45: Becoming a SharePoint Design Ninja

416-888-7777 [email protected] 46

Page 46: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

SHAREPOINT 2010 THEMESDEMO

Page 47: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Agenda

• Why Brand SharePoint?• Tools for Branding• Advanced Tips & Tricks• Secrets to Successful Branding!

Page 48: Becoming a SharePoint Design Ninja

416-888-7777 [email protected] 54

Page 49: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Advanced Tips & Tricks

Performance Goals• Reduce page weight

Techniques• Output Caching• Blob Caching• CSS Sprites • Consolidate JS and CSS

files • Cache JS, CSS and

image files in browser • Minification of JS and

CSS• Anonymous access for

CSS, JS and image files

Tools• Yslow• Fiddler• Wireshark

Page 50: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Advanced Tips & Tricks

During Visual Upgrade, show content based on UI version

<Sharepoint:UIVersionedContent ID="myContentIDv3" runat="server" UIVersion="3"> <ContentTemplate> <p>This content displays only when UIVersion=3.</p> </ContentTemplate></SharePoint:UIVersionedContent>

<Sharepoint:UIVersionedContent ID=" myContentIDv4" runat="server" UIVersion="4"> <ContentTemplate> <p>This content displays only when UIVersion=4.</p> </ContentTemplate> </SharePoint:UIVersionedContent>

Page 51: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Advanced Tips & Tricks

Remove specific content from Search Results<div class=“footer noindex”/> <!--- footer content ---></div>

Security controlled content

<Sharepoint:SPSecurityTrimmedControl runat="server" Permissions="ManageWeb"> <!--- content here ---></Sharepoint:SPSecurityTrimmedControl>

http://spbuzz.it/msdnspbasepermissions

Page 52: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Handling Legacy Browsers

Warn users when they are using an unsupported browser

<SharePoint:WarnOnUnsupportedBrowsers runat="server"/>http://spbuzz.it/ie6-upgrade-warning

Page 53: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Hide Design Elements from Dialog Boxes

Add s4-notdlg for HTML elements that you don’t want to show in the dialog boxes

<div class=“customFooter”>

<div class=“customFooter s4-notdlg”>

Page 54: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Easily show a Favicon in SharePoint 2010

• Easily show a Favicon in SharePoint 2010

SharePoint 2007 approach<link rel=“shortcut icon” href=“/Style Library/images/favicon.ico”/>

SharePoint 2010 approach<SharePoint:SPShortcutIcon runat=“server” IconUrl=“/Style Library/images/favicon.ico”/>

Page 56: Becoming a SharePoint Design Ninja

416-888-7777 [email protected] 62

Float Ribbon

1. body { overflow:auto; }2. Remove scroll="no" from the <body> tag3. body #s4-workspace {

left:0;overflow:visible;position:relative;}

4. html.ms-dialog body #s4-workspace {overflow-x:auto;overflow-y:scroll;}

Page 57: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Handling the Name.dll ActiveX Control

You can turn off the message on the General Settings page of the Manage Web Applications section of Central Administration. Set Enable Person Name smart tag and Online Status for members to No.

<script type="text/javascript"> function ProcessImn(){} function ProcessImnMarkers () {} </script>

http://spbuzz.it/mskb931509

Page 58: Becoming a SharePoint Design Ninja

416-888-7777 [email protected] 67

Page 59: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Design Considerations• Identify dependencies

– Package common components separately• Be easy on the portal home page

– Use sandbox to limit resource usage– Avoid referencing the items collection directly– Avoid excessive looping constructs

• Avoid the use of custom site definitions– Utilize site templates– Utilize feature templates

• Consider upgrades– Understand the effects of upgrading the feature– Anticipate the effect of upgrading to v Next

Page 60: Becoming a SharePoint Design Ninja

416-888-7777 [email protected] 69

Want more?

• Content Query Web Part• Data view web part in SharePoint Designer• XSLT templates• JQuery • SPServices• ClientOM

Page 61: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Tools for Branding?

Take Baby Steps

Page 62: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Ice Berg Principle

Page 63: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Professional SharePoint 2010 Branding and User Interface Design

Provides expert tips, techniques, and insights from the author team of SharePoint 2010 and branding experts

• CSS• master pages• page layouts• SharePoint themes• XSLT• jQuery• Silverlight

http://spbuzz.it/prosp2010ui

Page 64: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Agenda

• Why Brand SharePoint?• Tools for Branding• Advanced Tips & Tricks• Secrets to Successful Branding!

Page 65: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Secrets to Successful Branding

• Organize your content– End users are more likely to use search then navigation

• Follow Web Standards– Optimize and accessibility and standards

• Listen To Your Users

http://spbuzz.it/iYKom7

Page 66: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

Announcements

• TSPBUG (the “B” for Business) – http://www.meetup.com/tspbug

• SharePoint Saturday The Conference – http://www.spstc.org

75

Page 67: Becoming a SharePoint Design Ninja

416-888-7777 [email protected]

http://www.kanwalkhipple.com

@kkhipple @sharepointbuzz

Your Feedback Is Very Important To Me

SharePoint BrandingFrom START to FINISHThank you!