CONTENTS

INTRODUCTION

PART I: CREATING YOUR FIRST SITE WITH UMBRACO

CHAPTER 1: INSTALLING FOR THE FIRST TIME

Installing Umbraco

Installing Umbraco using the Microsoft Web Platform Installer

Installing Umbraco Manually

Tips for Installing Umbraco in Special Environments

Debugging in a Development Environment

Security Settings in a Production Environment

Other Installation Scenarios

Upgrading Umbraco

Performing a Patch Upgrade

Performing a Version Upgrade

Utilizing Umbraco Starter Kits

Installing a Starter Kit

Simple Starter Kit

Blog Starter Kit

Personal Starter Kit

Business Starter Kit

Extending the Starter Kits

Applying and Manipulating Umbraco Skins

Customizing a Skin

Modifying a Simple Umbraco Skin

Finding and Installing Umbraco Modules

Take Home Points

CHAPTER 2: THE UMBRACO APPROACH

Separating Content and Structure

Understanding the Umbraco Backoffice Structure

Creating a User with Restricted Access

Umbraco Content Tree

Umbraco Building Blocks

Content

Users

Functions and Properties

User Types

Setting Up a New Dictionary Label

Permissions

Setting Up a User for Access to Multiple Start Nodes

Media

Settings

Developer

Members

Creating a Member Group

Creating a Member Type

Translation

Take Home Points

CHAPTER 3: DOCUMENT TYPES

The Data Model

Flexible Content Structure

Creating a Document Type

Restricting the Type of Content

Using Parent Document Types

Working with Document Types Outside of Umbraco

Exporting a Document Type

Importing a Document Type

Exporting Document Types as Plain Old CLR Objects

Using Document Type Properties

Built-in Properties

Properties with Special Meaning

Take Home Points

CHAPTER 4: TEMPLATES, MARKUP, AND MASTER PAGES

Building Website Structure using Templates

How Templates Build Layout and Structure

Creating Templates With Umbraco

Defining Markup

Creating Markup Using the Umbraco UI

Creating the Master Base Template

Creating the Textpage Template

Populating the Placeholder for the Textpage.Master File

Using Special Umbraco Tags

Applying the Template

Nesting and Inheritance with ASP.NET Master Pages

Umbraco and Your Markup

You Get What You Put In — A Good Thing

Using AltTemplate

Changing the Document Type using AltTemplate

The No Template Effect

Styles and Scripts

Defining Your Styles

Layout and Organization

Handling Images

Styles and the Rich Text Editor

Using Scripts

Take Home Points

CHAPTER 5: USING MACROS

Introduction to Umbraco Macros

Macro Parameters

Rendering Macros In Your Site

XSLT Powered Macros

About XSLT

Using the Built-in XSLT Templates

Creating an XSLT Macro

Using XSLT Extensions to Make Macros Richer

Going Further with XSLT

Output an Image from the Media Library

Grouping Output by Date

.NET User Controls

Support for the .NET DLR

IronPython

Listing Pages from Current Page

Subpages from Changeable Source

IronRuby

User Generated Forms Using Umbraco Contour

Take Home Points

CHAPTER 6: LANGUAGES AND DICTIONARIES

Languages

Changing the Default Language

Adding and Updating Language Files

Changing the Backoffice UI Language

Dictionaries

The Umbraco Approach

Adding a Language

Working with the Dictionary

Take Home Points

CHAPTER 7: MULTIPLE SITES, HOSTNAMES, AND LOCALIZATION

Setting Up Multiple Sites

Working with Hostnames

Translation Workflow

Take Home Points

PART II: CONTENT PRODUCTION

CHAPTER 8: CREATING CONTENT

Content Management Best Practices

Creating a Structure

Organizing Templates for Reuse

Understanding the Rich Text Editor

Take Home Points

CHAPTER 9: ADDING FUNCTIONALITY

Using the Umbraco Tags

Generating Website Navigation Menus

Providing the Latest News, Events, and Posts

Using Examine to Search Content

Take Home Points

CHAPTER 10: PACKAGES—WHATEVER YOU CAN IMAGINE

Understanding Packages

Using Community Packages

Our.umbraco.org/projects

CodePlex.com

Understanding the Package Repository

Using Commercial Packages

Creating Your Own Packages

Take Home Points

CHAPTER 11: USING XSLT

Using XSLT for Published Content

Understanding XPath

Working with Media

Looking at Some XSLT Examples

List All Content

Counting, Looping, and Conditional Statements

Take Home Points

CHAPTER 12: WORKING WITH .NET CONTROLS

Creating a Macro

.NET Samples

List Subpages from Current Page

Rendering Nodes in a Grid Control

Creating a Page Programmatically

Creating a Custom Data Type

Sending Email with a Contact Form

Passing Data to .NET Through Macro Parameters

Creating a Login Macro

Using .NET from XSLT via XSLT Extensions

The Umbraco Event Model

Event Hooks

Event Examples

LINQ to Umbraco

Getting Started with LINQ to Umbraco

Extending LINQ to Umbraco

Take Home Points

PART III: DEPLOYING, TROUBLESHOOTING, AND SAMPLE APPLICATIONS

CHAPTER 13: DEPLOYING TO A PRODUCTION INSTALLATION

Planning Considerations

Using the Packager

Database Synchronizing

Using Courier

Take Home Points

CHAPTER 14: TROUBLESHOOTING

Installation Troubleshooting

Are File Permissions Set Correctly?

Is Umbraco Configured in a Virtual Directory?

Does the IIS Application Pool .NET Runtime Version Match the Umbraco .NET Runtime Version?

Are All the Files Present?

Database-Related Installation Issues

Shared Hosting Considerations

Error Handling and Logging

The Umbraco Error Log

The Windows Event Log

A Note about XSLT and Errors

Moved and Missing Web Pages

404 Pages

Page Redirects

Using umbracoRedirect

Using umbracoInternalRedirectId

Take Home Points

CHAPTER 15: SAMPLE APPLICATION: CLASSIFIED ADS

What to Configure for this Example

Assumptions to Make for this Example

Visual Studio Features

The Umbraco Installation Components

Document Types

Templates

Macros

Event Hooks

Putting It All Together

Take Home Points

PART IV: APPENDIXES

APPENDIX A: UPGRADING AN EXISTING INSTALLATION

Overall Steps to Upgrade

Backing Up Your Files and Database

Checking Package Compatibility

Copying the Right Files

Testing and Troubleshooting

APPENDIX B: SETTING UP YOUR VISUAL STUDIO ENVIRONMENT

Setting Up the Umbraco Folder Structure

Setting Up the Build Events

Referencing the Umbraco Libraries

APPENDIX C: RESOURCES

Source and Installation Files

Community

Umbraco Headquarters

APPENDIX D: DATA TYPE DEFINITIONS

The Data Type's Purpose

Definition of Built-in Data Types

Approved Color

Checkbox List

Content Picker

Date Picker with Time

Date Picker

Dropdown Multiple

Dropdown

Image Cropper

Macro Container

Media Picker

Member Picker

Radiobox

Related Links

Richtext Editor

Simple Editor

Tags

Textbox Multiple

Textstring

True/False

Ultimate Picker

Upload

Configuring a Data Type to Your Needs

INDEX

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset