Chapter 29

Using Library Items and Server-Side Includes

In This Chapter

  • Understanding Dreamweaver Library basics
  • Making and inserting Library items
  • Managing your Dreamweaver Library
  • Dreamweaver Technique: Building a Library Item
  • Updating your websites with Libraries
  • Dreamweaver Technique: Applying and Modifying Library Items
  • Using server-side includes

One of the challenges of designing a website is ensuring that buttons, copyright notices, and other cross-site features always remain consistent. Fortunately, Dreamweaver offers a useful feature called a Library item that helps you insert a repeating element, such as a navigation bar or a company logo, into every web page you create. With one command, you can update and maintain Library items efficiently and productively.

In this chapter, you examine the nature and the importance of repeating elements and learn how to effectively use the Dreamweaver Library feature for all your sites. In addition, you see how to use server-side includes—generally known as SSIs—to integrate code and content at both design time and runtime.

quickstart.eps

Library items are a Dreamweaver-only concept, but if you think you’ve got the concept down and just want to put them to use, there are two things you need to know. First, you should know how to create a Library item:

1. Select the part of the page you want to turn into a Library item.

2. Choose Window Assets. ...

Get Dreamweaver CS6 Bible now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.