Sunteți pe pagina 1din 14

-Introduction

SharePoint Portal Server 2007- Content Management ~~ 1

Agenda
Agenda Publishing Web Pages and how they work Branding your web site Authoring content in your site Creating variations of your site's contents

SharePoint Portal Server 2007- Content Management ~~ 2

Page Rendering
http://website/news/pages/welcome.aspx
MasterPage.master
Title
Field Control

A typical page render:


1. Welcome.aspx page

PageLayout.aspx
Body

Date

Field Control Field Control

Image
Field Control
Field Control

ByLine

is requested 2. Page layout associated with page is retrieved 3. Master page associated with site is retrieved 4. Controls in page layout render content from pages fields into the page

Field Control

Inherited from WSS


Versioning Check-in&-out Content types Access control
FileName Welcome.aspx PageLayout PageLayout.aspx Title Body Image Welcome To News Lorem ipsum dolor sit ... /Images/Chair.jpg

Workflow 2 Stage Undelete Link Fix-up etc.

SharePoint Portal Server 2007- Content Management ~~ 3

Portal Data Model


Portals are a collection of WSS Webs
The Webs are arranged in a hierarchy Hierarchy controls navigation and security

SPS2003 Areas, MCMS2002 Channels are now all based on the WSS Webs construct for containership MCMS2002 Postings are now pages in a document library Each Web has a document library for pages MCMS2002 .aspx Templates are now page layouts in the Master Page Gallery

Home (web)
(Doc library)

= Pages library

Products (web)
(Doc library)

Services (web)
(Doc library)

About Us (web)
(Doc library)

Product A (web) Product B (web)


(Doc library) (Doc library)

News (web)
(Doc library)

SharePoint Portal Server 2007- Content Management ~~ 4

Branding And Chrome


Web Pages in Office 12
ASP.NET 2.0 master pages are used to control look and feel of the website There are several types of pages in a portal site

Content pages (customized with custom.master)


Templatized landing and article pages Untemplatized pages

Application Pages

Forms Pages (customized with application.master) _layouts pages (style overrides only)

Alternate CSS setting allows for CSS overrides independent

of master page used

SharePoint Portal Server 2007- Content Management ~~ 5

What Goes In A Master Page?


<link rel=stylesheet > <SharePoint:SiteActions > <IMG > <asp:LoginStatus >
<SPSWC: RightBodySectionSearchBox >

Navigation Logos Search Box Login control Editing controls CSS references any other control you build

<SharePoint:HighlightMenu > <PublishingNavigation: PortalSiteMapDataSource >

SharePoint Portal Server 2007- Content Management ~~ 6

Page Layouts
Content types provide the schema
Define the available fields for a particular type of page

Page Layouts provide the template for rendering


Reference a master page for global navigation

and chrome May include:

Field controls that are bound to the fields in the content type Web Parts that can be used by authors Web Part zones to give page authors flexibility to add content outside of the pages schema

Custom server controls

Can have many layouts per content type


SharePoint Portal Server 2007- Content Management ~~ 7

Authoring Content
Fundamentals Authors know how to create content, but have trouble making it match the look and feel of the site Authors use page layouts created by site designers to create great looking, consistent pages in the web site Authoring tools Web-based authoring Smart client authoring

SharePoint Portal Server 2007- Content Management ~~ 9

Web-Based Authoring
Custom field types and field controls

Full HTML editor (with optional constraints) Image, link, and summary link controls with pickers Summary links quickly author, style, and organize links on a page Table of contents data-driven views of navigation Content Query data driven view of content across your site Allow author more flexibility at the expense of enforced layout consistency
SharePoint Portal Server 2007- Content Management ~~ 10

Web Parts

Web Part zones

Web Authoring For Different Types Of Sites


Internet Presence Enterprise Portal HR, Finance, etc. Team Collaboration Personal

More ad-hoc

More constrained

Web parts and web part zones


Authors free to add or reorganize parts on page

Field controls with restrictions enabled


Must use CSS styles Must pick images from inside site

Field controls with no restrictions

Little to no usage of web part zones

SharePoint Portal Server 2007- Content Management ~~ 11

Extending In-Context Authoring


Page editing bar

XML file defines links, assembly

HTML editor

Add new button to toolbar and code

Styling and branding


HTML editor styles using CSS Web part styles using XSL

Custom field controls

Example: Flash/movie control


SharePoint Portal Server 2007- Content Management ~~ 12

Summary
Web Content Management features are built into

SharePoint using common pieces


Page model Site chrome

Page layouts
Out of box features like Variations

Lots of opportunity to extend


ASP.NET server controls and data sources on .master page

Custom field controls, web parts on page layouts


Extensible authoring experience Custom document converters

SharePoint Portal Server 2007- Content Management ~~ 13

Field Controls And Web Parts


Data Storage Location In Page Field Control Field in the page Listitem Fixed as a control in page layout Web Part WebPart Data associated with the page Fixed as a control in page layout In a Zone Versioned with page except no historical versions Yes Queries/Views of external content Content Query Webpart Table of contents Webpart

Versioning

Versioned with page

Personalization Standard Uses Examples

No Content that is stored in the page Rich HTML Field Image Field Summary Links SharePoint Portal Server 2007- Content Management ~~ 14

Any Clarifications?

SharePoint Portal Server 2007- Content Management ~~ 15

S-ar putea să vă placă și