Chapter 18 – Understanding Branding in Sharepoint 2010

Wrox Real World Sharepoint 2010 (p. 637)
Branding is the act of creating a specific image or identity that people will recognize in relation to a company.
Branding involves colors, fonts, logos and supporting graphics that make up the general look. Topic (specific to Sharepoint 2010) includes:
master pages, page layouts, CSS, web parts, XSLT.

Publishing Feature
capabilities:
page layout
navigation providers
change master page from Web UI.
flexible with themes (color/fonts in Web UI). Apply theme to sub sites.

How Branding Works in Sharepoint —
Themes – In Sharepoint 2010, themes are created with Office client 2010 software using Word, Powerpoint or Excel. (*.THMX
file) which include 12 theme colors and 2 font.

Master Pages —

* default.master – only available for Sharepoint 2010 when it’s in Sharepoint 2007 Visual Upgrade mode. ****
* minimal.master – not intended to be the starter master page; missing common Sharepoint controls.
* v4.master – default master page for Sharepoint 2010. (3 people watching something)
* nightandday.master – only in Sharepoint server 2010 site that has Publishing feature enabled. (for internet)

Page Layouts – Availabel only for Publishing Sites
Master page is the outer shell, page layout is the design template for the actual content part. (P.645)
Web Part Zones
are defined in page layouts.

Using CSS –
main CSS file: corev4.css
The primary means for loading custom CSS in Sharepoint is by referencing it from a custom master page. Another way is via Alternative CSS.

Three approaches in branding Sharepoint —
(1) Low effort – simply choosing different master pages, and select from 20 out-of-the-box themes. Custom themes can also be created using Office 200 clients or Sharepoint Web UI.
(2) Medium effort – Use CSS to apply styles. Use Alternative CSS.
(3) Full effort – creating custom master pages. Or custom page layouts.

Explorering New Branding Features —
Sharepoint 2010 HTML is not 100% compliant with W3C standards. But it is compliant with WCAG.

Browser support levels:
(1) Supported: (IE 7/8, 32 bit)
(2) Supported but with known limitations (IE 7/8, 64 bit, FireFox, Safari)
(3) No tested

Master Page Improvement —
Allowing Master page to apply to application pages.

If you don’t see Master Pages/Page Layout links under look & feel, make sure you enable
Publishing Infrastructure
in Site Collection Features, and

Server Publishing
in Site Features.


WIKI Pages —

Instead of Page layout, it uses Text Layout.

Note:
Normal Wiki Page uses Text Layout
Exterprise Wiki (a site template) use Page Layout!!!

Dialog Box – (a modal window)
Anythng that shouldn’t show in the dialog box, will have a CSS property of
s4-notdlg
Such as
<div class=”footerstyle s4-notdlg“>Copyright 2010</div>

Multilingual User Interface (MUI) —
Visual Upgrade – upgrade to SP 2010 but still with look & feel of SP 2007

Exercise – Branding a site

First create a new theme. Open Microsoft Powerpoint, create a new file, click the Design tab. Select Colors
à
Create new Theme Colors

Define new theme colors and save it.


Next, create new fonts:

Select heading font and body font, save:

The click Save Current Theme to export the theme (colors & fonts) to an local THMX file.

Then go to your Sharepoint site, Site Settings page à Galleries à Themes

Click Document, and upload the custom theme from local.

To apply the new theme to your web site:

Alternate CSS —

Exercise: How to apply a header background image using Alternate CSS
Get a header image file (*.gif or *.jpg)
Open Sharepoint Designer 2010,a nd open a site.
Click “All Files” in the navigation menu, navigate to Style Library
à en-us à
Themable, and create a new folder called”demo”.

Drag the header file in the demo folder, and check it in.
Then in the same Demo folder, add a new CSS file, named Demo.css:

Copy the new CSS code.
Then, check in both files and select Publish Major Version.

Next, go to Site Settings Page, master Page, and scrool down, locate the Demo.CSS file, save it.

Then when you browse the site, the Alternate CSS shouold work:

Creating a Custom Master Page —

 

 

Advertisements
Post a comment or leave a trackback: Trackback URL.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: