Chapter 12 Creating and Using Templates. If you have already created and designed a page you like, you can use the layout and design for other pages in.

Slides:



Advertisements
Similar presentations
Chapter 1: Introduction. Contents Whats New in Dreamweaver CS4? The Dreamweaver CS4 Interface Setting Up a Site Creating a Web Page Adding Text to Your.
Advertisements

Working with Tables for Page Design – Lesson 41 Working with Tables for Page Design Lesson 4.
Working with Graphics – Lesson 21 Working with Graphics Lesson 2.
© Paradigm Publishing, Inc Word 2010 Level 2 Unit 1Formatting and Customizing Documents Chapter 3Automating and Customizing Formatting.
1 CA202 Spreadsheet Application Combining Data from Multiple Sources Lecture # 6.
Ch. 5 Web Page Design – Templates and Style Sheets Mr. Ursone.
© 2010 Delmar, Cengage Learning Chapter 12 Working with Library Items and Snippets.
Chapter 3 Working with Text and Cascading Style Sheets.
Chapter 3 Tables and Page Layout
Introducing Cascading Style Sheets  Cascading Style Sheet Basics  Creating Styles  Using Styles  Manipulating Styles  Text Formatting with CSS.
Create slices and hotspots Create links in Web pages Create rollovers from slices Create basic animation Add tweening symbol instances to create animation.
Chapter 1 Getting Started With Dreamweaver. Explore the Dreamweaver Workspace The Dreamweaver workspace is where you can find all the tools to create.
Tutorial 3: Adding and Formatting Text. 2 Objectives Session 3.1 Type text into a page Copy text from a document and paste it into a page Check for spelling.
Working with Text and Cascading Style Sheets Adobe Dreamweaver Chapter 3.
The template site was designed so that if a school principal chose they could task someone other than the webmaster to maintain the content of the website.
With Windows 7 Comprehensive© 2012 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Windows 7 Comprehensive.
Organizing Content by Using Dreamweaver CS5 Domain 5.
Lesson 11: Maximizing Site Design Introduction to Adobe Dreamweaver CS6 Adobe Certified Associate: Web Communication using Adobe Dreamweaver CS6.
WDV 331 Dreamweaver Applications Templates Dreamweaver CS6 Chapter 19.
© 2010 Delmar, Cengage Learning Chapter 7 Using Styles and Style Sheets for Design.
Creating a Website. Unit Objectives Plan a website Create a folder for website management Set up a website Add a folder to a website Save a web page Copy.
Chapter 3 Working with Text and Cascading Style Sheets.
© Ms. Masihi.  The Dreamweaver Welcome Screen first opens when you start Dreamweaver.  This screen gives you quick access to previously opened files,
Chapter 2 Developing a Web Page. Chapter 2 Lessons Introduction 1.Create head content and set page properties 2.Create, import, and format text 3.Add.
Macromedia Dreamweaver 8-- Illustrated Introductory 1 Macromedia Dreamweaver 8 Unit F Creating Links and Navigation Bars.
XP Dreamweaver 8.0 Tutorial 3 1 Adding Text and Formatting Text with CSS Styles.
Adobe Dreamweaver CS3 Revealed CHAPTER FIVE: USING HTML TABLES TO LAY OUT A PAGE.
CIS 205—Web Design & Development Dreamweaver Chapter 1.
Session 1 SESSION 1 Working with Dreamweaver 8.0.
Microsoft FrontPage 2003 Illustrated Complete Using a Dynamic Web Template.
Domain 3 Understanding the Adobe Dreamweaver CS5 Interface.
© 2011 Delmar, Cengage Learning Chapter 8 Using Styles and Design Style Sheets for Design.
Adobe Dreamweaver CS3 Revealed CHAPTER THREE: WORKING WITH TEXT AND IMAGES.
Dreamweaver MX. 2 Overview of Templates n Templates represent a web page design or _______ that will be common to multiple pages. n There are two situations.
© 2011 Delmar, Cengage Learning Chapter 12 Creating and Using Templates.
Project 4: Yosemite CSS Layout
FILES AND ASSETS PANELS
Macromedia Dreamweaver 8 Revealed LINKS WORKING WITH.
Chapter 1 Creating a Dreamweaver Web Page and Local Site
Lesson 11: Looking at Files and Folders what a file or folder is on the computer how to recognize a file or folder on the desktop how to recognize the.
With Windows 7 Introductory© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 Windows 7 Introductory Chapter 3 Advanced File Management and Advanced.
Chapter 5 Quick Links Slide 2 Performance Objectives Understanding Framesets and Frames Creating Framesets and Frames Selecting Framesets and Frames Using.
Macromedia Dreamweaver 8-- Illustrated Introductory 1 Macromedia Dreamweaver 8 Unit B Creating a Web Site.
XP New Perspectives on Windows 2000 Professional Windows 2000 Tutorial 2 1 Microsoft Windows 2000 Professional Tutorial 2 – Working With Files.
Working with Graphics – Lesson 21 Working with Graphics Lesson 2.
Use CSS to Implement a Reusable Design Selecting a Dreamweaver CSS Starter Layout is the easiest way to create a page with a CSS layout You can access.
Introducing Cascading Style Sheets. Cascading Style Sheet Basics  Cascading Style Sheet Basics  Creating Styles  Using Styles  Manipulating Styles.
© 2011 Delmar, Cengage Learning Chapter 3 Working with Text and Cascading Style Sheets.
Tutorial 3 Adding and Formatting Text with CSS Styles.
Macromedia Dreamweaver 8 Revealed AND GRAPHICS WORKING WITH TEXT.
Chapter 1 Getting Started With Dreamweaver. Exploring the Dreamweaver Workspace The Dreamweaver workspace is where you can find all the tools to create.
Editing Basics Lesson 8. Skills Matrix SKILL #MATRIX SKILL 2.2.1Cut, copy, and paste text 2.2.2Find and replace text 4.1.1Insert building blocks in documents.
Double –Click on the Netscape Icon on your desktop The following are a series of steps to help you get started with Netscape Composer.
How to create & use Dreamweaver Templates. Creating a Dreamweaver Template o A template is a common structure or layout of a web site that most of your.
Introducing Dreamweaver. Dreamweaver The web development application used to create web pages Part of the Adobe creative suite.
Web Site Development - Process of planning and creating a website.
© 2010 Delmar, Cengage Learning Chapter 11 Creating and Using Templates.
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 5 1 Adding Shared Site Elements.
XP Dreamweaver MX 2004 Tutorial 3 1 Adding and Formatting Text.
Tutorial 6 Creating Reusable Assets and Forms. Objectives Session 6.1 – Explore the head content of a page – Add keywords to a page – Add a meta description.
Microsoft Excel Illustrated Introductory Workbooks and Preparing them for the Web Managing.
Project Objectives Lay out Web pages Create layers
Microsoft Windows 2000 Professional
Macromedia Dreamweaver 8
Chapter 2 Adding Web Pages, Links, and Images
Create and edit web pages 2
New Perspectives on Windows XP
Using Cascading Style Sheets (CSS)
Using Templates and Library Items
5.00 Apply procedures to organize content by using Dreamweaver. (22%)
Presentation transcript:

Chapter 12 Creating and Using Templates

If you have already created and designed a page you like, you can use the layout and design for other pages in your site, and save the page as a template. Creating Templates with Editable Regions

Template in Assets panel Assets panel Templates button Preview of selected template List of templates available in this site Creating Templates with Editable Regions

Templates are saved with a.dwt extension and are stored in the Templates folder in the site root folder for your website. If your site does not have a Templates folder, Dreamweaver automatically creates one for you. Creating Templates with Editable Regions

By default, when you save a template, all content on the page is locked. No one else can add content or modify any part of the template to create new pages. Creating Templates with Editable Regions

If your template is going to be used effectively, you must have at least one editable region in it so that other users can add content. Creating Templates with Editable Regions

Template with locked and editable regions Editable region label (all other regions are locked) Blue outlines of editable region Creating Templates with Editable Regions

You can also add optional regions to a template, which is an area in a template that users can choose to either show or hide. An optional region’s visibility is controlled by the conditional statement if. Creating Templates with Editable Regions

If you want to give users the ability to show or hide a page element, as well as make modifications to it, then you can define the element as an editable optional region. Creating Templates with Editable Regions

New Editable Region dialog box Name of new editable region Creating Templates with Editable Regions

There are many advantages to using a template to create a page: – First, it saves time, because part of the content and format of your page is already set. – Second, it ensures that the page you create matches the look and format of other pages. Using Templates to Create Pages

Working with a template-based page Pointer positioned over a locked region Notation that this page is based on the activities_pages template Using Templates to Create Pages

When you create a new page that is based on a template, certain areas of the new page are locked. When a mouse pointer is positioned over a locked region, it appears as a circle with a line cutting through it. Using Templates to Create Pages

To edit, delete, or add content in editable regions of a template-based page: – You can select the element you want to modify and make the changes. – You can click in the editable region and insert the new content. Using Templates to Create Pages

When you add a link to a page that is based on a template, it is important to use document relative links; otherwise, they will not work. Using Templates to Create Pages

Using the Point to File icon to specify a document-relative link Point to File icon Using Templates to Create Pages

The path to a link actually goes from the template file (not from the template-based page) to the linked page. Using Templates to Create Pages

To ensure that all links are document-relative, you should: – select the page element to which you want to add a link. – drag the Point to File icon from the Property inspector to the page in the Files panel. Using Templates to Create Pages

Sometimes you need to apply a template to a page that you have already created. If so then before you attach a template to an existing page, you should delete any elements from the page that also appears in the template. Using Templates to Create Pages

If you want to detach a template from a page: – first open the page you want to detach from the template – Click Modify on the Menu bar – point to Templates – click Detach from Template Using Templates to Create Pages

New fishing page based on a template Using Templates to Create Pages

A good website should be updated frequently to keep the content fresh and timely. If your websites are based on templates, than it will be much easier to make changes to your sites. Using Templates to Update a Site

Update Template Files dialog box Files based on activities_pages template Using Templates to Update a Site

One of the greatest benefits of working with templates is that any change you make to a template can be made automatically to all nested templates and pages that are based on the template. Using Templates to Update a Site

A nested template is a template based on an existing template, called a root template. Using Templates to Update a Site

If your template will be used by many people, it might be a good idea to include several optional regions in it so that template users can pick and choose from a wide range of content elements. Using Advance Templates

You might also want to set parameters for optional regions, specifying that they are displayed or hidden based on specific conditions. Using Advance Templates

If you are working on a complex website that has many different pages used by different people or departments, you might need to create nested templates, which are templates that are based on another template. Using Advance Templates

Nested templates are helpful when you want to define a page or parts of a page in greater detail. Using Advance Templates

An advantage of using nested templates is that any changes made to the original template can be automatically updated in the nested template. Using Advance Templates

Editable regions in the original template are passed on as editable regions to the nested template. Using Advance Templates

However, if you add a new editable or optional region to an editable region that was passed on from the original template, the original editable region changes to a locked region in the nested template. Using Advance Templates

There might be times when you want users of your template to be able to change certain attributes of an element in a locked region. You can use the Editable Tag Attributes to change attributes. Using Advance Templates

Editable Tag Attributes dialog box Using Advance Templates

When you define editable attributes of elements in locked regions, template users can make changes to the element’s attributes using the Template Properties dialog box. Using Advance Templates