Adobe Dreamweaver CS3 Unleashed- P14 pdf

50 377 0
Adobe Dreamweaver CS3 Unleashed- P14 pdf

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

interface (LDAP or Active Directory). Publishing Services provides a centralized interface, accessible from the screen shown in Figure 12.15, where you can add users to a role and then assign permissions to them for the site folder. Figure 12.15. You can use Publishing Services as a centralized mechanism for setting folder permissions. [View full size image] It's important to note that Publishing Services is a separate product from Contribute. If you'd like more information on Publishing Services, visit www.adobe.com/products/contribute/server/. In our examples, we'll keep it simple and just rely on the folder permissions that are already in place. Note You probably noticed the text label that appeared in the Contribute category in the Site Definition dialog for the Contribute Publishing Service. This text label displays the status of Contribute Publishing Service if it is on. Web Server You can use the options in the web server screen (Figure 12.16) to configure Contribute and Contribute users to work with your web server. Figure 12.16. Use options in this screen as a way to configure Contribute and Contribute users to work with your web server. [View full size image] For instance, options exist for setting alternative URLs that Contribute users could potentially access. Generally, you will see URLs listed in two ways: by domain name and by IP address. Although both addresses work for connecting to the web server, Contribute uses this list to allow or deny access to the web server if a user typed in what appears to be a valid address that is not listed. The second tab on this screen allows you to work with options for setting default pages within the web server. For the most part, the web server uses a traditional list of index files. If your default file is not listed (maybe it's called mypage.html) you must manually add it here. The final tab in this screen allows you to specify a guard page. Use the guard page as a way to prevent users from accessing the _mm folder (automatically added to the site when working with Contribute) directly from Dreamweaver or Contribute. By default, Contribute sets the guard page to the main page (the same file defined as the home page when you're working with site maps) in the directory. For our purposes, there shouldn't be anything we need to modify here. Note The _mm folder is where Contribute keeps files that are being reviewed or worked on. When a user edits a page in Contribute, a working copy is placed into this folder. Technically, the user is making changes to the file that resides in the _mm folder, not the file that's live on the site. After a file gets approved/published, Contribute then copies the files from the _mm folder and overwrites the previous copy on the live server. Rollbacks Rolling back web pages is the process of going back to a previous version of a web page after it has been published. For instance, assume Cammy the Content Manager makes a few changes to a page in the website and then, using Contribute, publishes her finished work. By default, Contribute stores a copy of the previous version in a _baks folder within the _mm folder root. As an administrator, you decide to review Cammy's work and happen to find glaring errors. Rather than bringing the site down to fix the mistakes, you can right-click (Control+click) the file in the Files panel and choose the Roll Back Page option. Dreamweaver, interfacing with Contribute, digs the old version out of the _baks folder and replaces the live version with the older, accurate version. You can enable rollbacks and the specify the number of rollback steps in the screen shown in Figure 12.17. Figure 12.17. You can enable rollbacks by simply clicking the check box. You can also set a numeric value indicating the number of times to roll back. [View full size image] This is a feature I always implement in my sites. It's a handy mechanism to have—especially if you accidentally delete a file or simply want to revert to an older version. To enable this feature, click the check box. Keep the rollback steps at 3. Caution Be mindful of the number you set for rollbacks. Each rollback version consumes storage space on the server. The more rollbacks you enable, the greater the number. If you're limited on server storage space, you might think about keeping this number as low as possible or even disabling the feature altogether. Note You probably noticed the text label that appeared within the Contribute category in the Site Definition window for Rollbacks. This text label will display the status of rollbacks when it's enabled or disabled for the Contribute-enabled site, as was shown in Figure 12.17. New Pages Similar to the document encoding screen within the Page Properties dialog in Dreamweaver, you can use the New Pages screen, shown in Figure 12.18, as a way to set the document encoding that should be used for your web pages in Contribute. Figure 12.18. Set the document encoding type and the default extension of the page when a new page or template is created within Contribute. [View full size image] You can also set the default file extension to use when creating new pages from a blank page or template in a site. Again, we'll keep this screen as it is. Compatibility The Compatibility screen, shown in Figure 12.19, lets you provide editing and publishing access to older versions of Contribute. Figure 12.19. Set a method of Contribute interoperability here. You can decide whether to have newer versions and older versions of Contribute work together. [View full size image] Selecting the Transition Mode option allows you to share features between previous and current releases of Contribute. Be aware, however, that only shared features are interoperable. Choose the Compatibility Mode option when you want to isolate all features exposed by newer versions of Contribute from older versions. Users who use an older version of Contribute will be required to install the most current version. Because in our example we know everyone will be using the same version of Contribute, keep the Compatibility Mode option button selected. Enable PDF Embedding The final set of options within the Administration screen is the Enable PDF Embedding option button group. You can use the options within this screen as an Administrator to restrict users from embedding PDF documents as objects in a web page. If users are allowed to insert embedded PDF objects, they can choose to insert the document either as a link or as an embedded PDF. However, if users are not allowed to embed PDF objects, they only have the option to insert the PDF document as a link. Sending Connection Keys to Contribute Users Now that you've successfully configured properties for the Publisher role, it's time to delegate access to the three Contribute users (Ada, Cammy, and Tina) within our company. This can be accomplished easily by sending connection keys. Taking the form of an STC file and accessible from the Users and Roles category, the connection key can either be opened or imported into Contribute by the end user and contains all the necessary configuration information our three users will need to successfully connect to the Vecta Corp website as Publishers. To send a connection key, follow these instructions: 1. Within the Administer website dialog, switch to the Users and Roles category and click the Send Connection Key button. The Send Connection Key dialog will appear similar to Figure 12.20. Figure 12.20. The Send Connection Key dialog allows you to create and send connection keys. 2. As you can see from Figure 12.20, the first screen within the wizard allows you to set how you will send the connection settings to the individual Contribute users. Options include the ability to send the same connection settings that you use (excluding role information) or to configure the connection settings differently for Contribute users. For our purposes, choose Yes, enable the Include my FTP username and password check box, and click Next. 3. The next screen in the wizard (shown in Figure 12.21) allows you to set the type of role that the invited users will have. Because we want to create three Publishers, select the Publisher option and click Next. Figure 12.21. Set the type of role that invited users will have. 4. The third screen within the wizard (shown in Figure 12.22) allows you to set the method for sending the connection key file (STC file). Figure 12.22. Choose an option from this screen to either send the connection key in an email or to save it to your computer. Options include sending the STC file as an attachment via email or saving the STC file to your computer. If you select the email option, Contribute creates a nice email template and automatically attaches the encrypted STC file to the body of the email. This is the option we'll select. Second, you'll want to enter a password that Contribute users will use to decrypt the emailed STC file. After it is decrypted, the STC file becomes usable within Contribute. For security reasons, you'll want to verbally communicate the decryption password to Contribute users. Enter a password now (I'll enter vectacorp) and click Next. 5. The final confirmation screen allows you to perform a final check on the settings to be emailed to the Contribute users. Double-check your settings and click Done. 6. As you can see from Figure 12.23, the connection key is attached as an STC file to the Contribute- generated email template. In the To field, enter all the email addresses that this email will be sent to and click Send. Figure 12.23. Enter the email addresses of the users that will receive the connection key and click Send. [View full size image] That's it! You've effectively sent the connection key to users within your organization. The next step is for the receiving users (Ada, Cammy, and Tina) to check their email and open the connection key within Contribute. After they've done this, they'll be able to make edits to the Vecta Corp site within Contribute. Using Contribute to Make Basic Edits Assuming the role of Ada, Cammy, or Tina, we'll now walk through the process of opening the connection key within Contribute. After the key has been imported into Contribute, we'll use the program to make basic edits to the Vecta Corp site and then publish our changes to the web server. To import the connection key into Dreamweaver, you can do one of two things: You can double-click the STC file from the email, or you can open Contribute and click the Import button from the My Connection dialog (available from the Edit menu in Contribute). To make things easy, we'll use the first option. To open the key in Contribute, follow these steps: 1. To get the full effect of how connection keys work, try using a completely different computer and logging in with the account that has access to the email account that contains the Contribute connection key. If you don't have access to a second computer, that's fine—simply double-click the STC connection key file. Contribute will open and the Import Connection Key dialog will appear similar to Figure 12.24. Figure 12.24. Double-click the connection key file. Contribute will open and the Import Connection Key dialog will appear. 2. Assume that I'm logged into Ada's, Cammy's, or Tina's computer. Notice the dialog shown in Figure 12.24; it allows me to enter my name, my email, and the secret decryption key (that I specified as vectacorp). Add the unique information for the first user, entering Ada for name, ada@vectacorp.com for email, and vectacorp for the password and click OK. As you can see from Figure 12.25, the dialog disappears and the Vecta Corp site opens within Contribute. [...]... the Assets panel Instead, the Assets panel, like many of the other features within Dreamweaver, works off of the site's cache In Chapter 3, "Dreamweaver Site Management," we discussed that the site cache was Dreamweaver' s way of taking a digital "snapshot" of the folder and file structure of your site Many features in Dreamweaver namely the Check Links feature, the Site Map feature, and more importantly... move away from the team collaborative aspects of Dreamweaver and begin to review some of the task automation features built in to Dreamweaver' s framework Chapter 13 Enhancing Workflow IN THIS CHAPTER Working with the Assets Panel Using Favorites to Increase Productivity Using Find and Replace Using the History Panel Working with Commands As you've seen, Dreamweaver outlines numerous features for simplifying... ordinarily be given access to the site using Dreamweaver Contribute allows site administrators to feel comfortable with nontechnical users making changes to the company's online presence because they can ratchet down the number of options available to the user within the Administer Website dialog Even better, through Contribute's draft review process and Dreamweaver' s rollback feature, changes can easily... it had when it was defined in Dreamweaver 4 To close the My Connections dialog, click Close As a content contributor, you're now ready to make changes to the Vecta Corp site using Contribute To do this, click the Edit Page button at the top-left corner Immediately, the page opens in Edit Mode, shown in Figure 12.27, with the same structure it had when it was defined in Dreamweaver Figure 12.27 Clicking... CSS integration, the Insert bar, Layout Tables, Contribute integration, and so on all make Dreamweaver' s support unmatched for designing web pages unassisted or within teams In this chapter, we'll discuss some of the simple, yet sometimes overlooked, nuances that further improve how you work with your websites in Dreamweaver As we progress through the chapter, we'll discuss asset management using the... commands The features that we discuss in this chapter should further support the notion that Dreamweaver is unprecedented in its support for creating spectacular websites effortlessly Like the rest of the chapters within this book, you can work with the examples in this chapter by downloading the files from www.dreamweaverunleashed.com You'll want to save the files for Chapter 13 in an easy-to-find location... files, Flash files, JavaScript files, and even colors and links are all considered assets and are all managed in the Assets panel by Dreamweaver By having access to these items in one central location, you're offered the benefit of quick access to any one of these items in Dreamweaver No more shuffling around, searching for the same content in the local root folder Furthermore, the Assets panel offers... as navigation bars) Library items are covered with more detail in Chapter 15, "Working with Library Items." Note For the most part, Dreamweaver automatically scans your defined site and picks out the assets it can work with You can always use the Cloak feature to prevent Dreamweaver from scanning files located within a particular folder The Assets folder (remember, separate from the Assets panel), for... anyway Cloaking this folder would prevent Dreamweaver from scanning that folder and importing any unneeded files into the Assets panel How the Assets Panel Works Now that you have a simple understanding of what the Assets panel provides, it's important to understand how the Assets panel works The Assets panel doesn't scan the structure of your site every time Dreamweaver is opened, nor does it scan the... Publisher or Site Administrator to approve or reject changes For our purposes, click the Publish button Dreamweaver displays a Contribute dialog congratulating you that the changes have been published to the live server Click OK to see the final results within the browser view Rolling Back Pages in Dreamweaver Assuming the role of the Site Administrator once again, assume for a moment that the change . from embedding PDF documents as objects in a web page. If users are allowed to insert embedded PDF objects, they can choose to insert the document either as a link or as an embedded PDF. However,. the Compatibility Mode option button selected. Enable PDF Embedding The final set of options within the Administration screen is the Enable PDF Embedding option button group. You can use the options. link or as an embedded PDF. However, if users are not allowed to embed PDF objects, they only have the option to insert the PDF document as a link. Sending Connection Keys to Contribute Users Now

Ngày đăng: 01/07/2014, 19:20

Mục lục

  • Adobe Dreamweaver CS3 Unleashed - Graphically Rich Book

  • Table of Contents

  • Copyright

  • About the Author

  • Acknowledgments

  • We Want to Hear from You!

  • Introduction

  • Part I: Getting Up to Speed with Dreamweaver CS3

    • Chapter 1. The Dreamweaver CS3 Interface

      • New Dreamweaver CS3 Features

      • The Welcome Screen

      • The Document Window

      • Context Menus

      • The Insert Bar

      • The Property Inspector

      • Panels

      • The Menu Bar

      • Summary

    • Chapter 2. Building a Web Page

      • Creating a New Document

      • Working with a New Document in Design View

      • Inserting the Time and Date

      • Inserting a Horizontal Rule

      • Working with Images

      • Working with Hyperlinks

      • Working with a Web Page in Code View

      • Summary

    • Chapter 3. Dreamweaver Site Management

      • The Importance of Defining Sites in Dreamweaver

      • Defining a New Site in Dreamweaver

      • Managing a Website in Dreamweaver

      • Using Advanced Site Management Options

      • Summary

    • Chapter 4. Defining Preferences

      • Using the Preferences Dialog

      • Setting Keyboard Shortcuts

      • Working with Tag Libraries

      • Summary

  • Part II: Static Web Page Development

    • Chapter 5. Web Page Structuring Using Tables

      • Inserting and Working with Tables

      • Selecting Table Elements

      • Modifying Table Properties Using the Property Inspector

      • Modifying Cell Properties Using the Property Inspector

      • Working with Tables in Expanded Tables Mode

      • Inserting and Working with Tables in Layout Mode

      • Drawing Tables

      • Drawing Cells

      • Importing Tabular Data

      • Summary

    • Chapter 6. Page Formatting Using Cascading Style Sheets

      • An Introduction to CSS

      • CSS Versus HTML

      • Browser Support for CSS

      • Designing CSS Using Dreamweaver and the CSS Styles Panel

      • Designing Styles by Redefining HTML Tags

      • Working with Pseudoclasses

      • Designing CSS Styles by Using IDs

      • Attaching a Style Sheet

      • Tips and Tricks for Using CSS

      • Summary

    • Chapter 7. Page Structuring Using Cascading Style Sheets

      • Introduction to AP Elements

      • Working with AP Elements

      • Designing Tableless Web Pages Using AP Elements

      • Built-In CSS Page Layouts

      • Summary

    • Chapter 8. Working with Frames and Framesets

      • Understanding Framed Websites

      • Working with Frames and Framesets

      • Adjusting Frame Attributes

      • Adjusting Frameset Attributes

      • Adding Content to Frames

      • Saving Frames and Framesets

      • Targeting Frames

      • IFrames

      • Targeting Browsers That Don't Support Frames

      • Summary

    • Chapter 9. Working with HTML Forms

      • An Introduction to HTML Forms

      • Working with Forms and Form Objects

      • Summary

    • Chapter 10. Using Dreamweaver Behaviors

      • An Introduction to Behaviors

      • Using the Behaviors Panel

      • Dreamweaver Behaviors

      • Summary

  • Part III: Team Collaboration and Task Automation

    • Chapter 11. Building Dreamweaver Websites Within Teams

      • Using File Check In and Check Out

      • Maintaining Design Notes

      • File View Column Sharing

      • Generating Workflow Site Reports

      • Implementing Source Control with Visual SourceSafe

      • Using WebDAV

      • Summary

    • Chapter 12. Managing Website Content Using Contribute

      • Content Management Using Contribute

      • Administrating Contribute-Enabled Sites in Dreamweaver

      • Sending Connection Keys to Contribute Users

      • Using Contribute to Make Basic Edits

      • Rolling Back Pages in Dreamweaver

      • Summary

    • Chapter 13. Enhancing Workflow

      • Working with the Assets Panel

      • Using Find and Replace

      • Using the History Panel

      • Working with Commands

      • Summary

    • Chapter 14. Working with Templates

      • Understanding Dreamweaver Templates

      • Working with Repeating Regions

      • Defining Optional Regions

      • Nested Templates

      • Templates and the Assets Panel

      • Removing Template Markup

      • Changing the Default Document

      • Summary

    • Chapter 15. Working with Library Items

      • Understanding Library Items

      • Using the Assets Panel to Manage Library Items

      • Working with Server-Side Includes

      • Summary

  • Part IV: Incorporating Multimedia and Animation

    • Chapter 16. Working with the Timeline

      • Animation with the Timeline

      • Behaviors and the Timeline

      • Summary

    • Chapter 17. Incorporating Video and Audio

      • Video on the Web

      • Media Players

      • Working with Video Clips

      • Audio on the Web

      • Summary

    • Chapter 18. Integrating with Fireworks and Photoshop

      • Specifying External Editors

      • Editing Images in Dreamweaver with Fireworks or Photoshop

      • Browsing Images in Adobe Bridge

      • Replacing Image Placeholders

      • Optimizing Images

      • Creating Rollover Buttons in Fireworks

      • Inserting Fireworks HTML

      • Creating a Web Photo Album

      • Summary

    • Chapter 19. Integrating with Flash

      • Inserting Flash Movies into Dreamweaver Documents

      • Working with Flash Elements in Dreamweaver

      • Managing Links in Flash Movies with Dreamweaver

      • Controlling Flash Movies with Dreamweaver Behaviors

      • Roundtrip Flash Editing

      • Summary

  • Part V: Dynamic Web Page Development

    • Chapter 20. Introduction to Web Applications

      • Client-Side Versus Server-Side Web Development

      • Web Applications

      • Client-Side Technologies

      • Server-Side Technologies

      • Database Options

      • Structured Query Language

      • Working with Data Source Names

      • The Dynamic Vecta Corp Intranet Application

      • Summary

    • Chapter 21. Working with Server-Side Technologies

      • Working with the Internet Information Services (IIS) Web Server

      • Working with ASP

      • Installing and Working with ASP.NET

      • Installing and Working with ColdFusion

      • Installing and Working with PHP

      • Summary

    • Chapter 22. A Database Primer

      • Anatomy of a Database

      • Installing a Database

      • An Overview of the Vecta Corp Database

      • Summary

    • Chapter 23. A SQL Primer

      • The Structured Query Language

      • Basic SQL

      • Expressions

      • Operators

      • Functions

      • Joins

      • Subqueries

      • Generating Queries Visually

      • Summary

  • Part VI: Building Dynamic Web Pages

    • Chapter 24. Working with Dynamic Data

      • Connecting to a Data Source

      • Building the Vecta Corp Employee Store Using ASP, ColdFusion, or PHP

      • Building the Employee Store Using ASP.NET

      • Using Live Data View

      • Summary

    • Chapter 25. Adding and Modifying Data

      • Building the Web Store New User Registration Page Using ASP, ColdFusion, or PHP

      • Creating the My Account Page Using ASP, ColdFusion, or PHP

      • Building the Web Store New User Registration Page Using ASP.NET

      • Creating the My Account Page Using ASP.NET

      • Using Data Objects to Create an Admin Page

      • Summary

    • Chapter 26. Integrating Search Functionality

      • Integrating a SQL Search

      • Creating a Search Page

      • Creating the Search Results Page

      • Globalizing the Search Functionality

      • Summary

    • Chapter 27. Adding Shopping Cart Functionality

      • Creating the Employee Store Shopping Cart Using ASP

      • Creating the Employee Store Shopping Cart Using ASP.NET

      • Summary

    • Chapter 28. Security and User Authentication

      • Securing the Vecta Corp Site Using ASP, ColdFusion, or PHP

      • Securing the Vecta Corp Site Using ASP.NET

      • Summary

    • Chapter 29. Working with Web Services and ColdFusion Components

      • An Introduction to Web Services

      • Dreamweaver and Web Services Integration

      • Building a Simple Calculator Web Service

      • Consuming the Calculator Web Service in ASP.NET

      • Consuming the Calculator Web Service in ColdFusion

      • Web Services and Database Interaction

      • Summary

    • Chapter 30. Introducing the Spry Framework for Ajax

      • Introduction to XML, Ajax, and Spry

      • Integrating XML Data with Spry

      • Working with Spry Widgets

      • Working with RSS Feeds

      • Summary

  • Online Appendixes

    • Appendix A. Accessibility

      • Accessibility Standards

      • Apply Standards to Existing Sites

      • Accessibility Reference

      • Summary

    • Appendix B. Extending Dreamweaver

      • Working with Objects

      • Working with Behaviors

      • Sharing Extensions Through the Adobe Exchange

      • The Server Behavior Builder

      • Summary

  • Index

    • SYMBOL

    • A

    • B

    • C

    • D

    • E

    • F

    • G

    • H

    • I

    • J

    • K

    • L

    • M

    • N

    • O

    • P

    • Q

    • R

    • S

    • T

    • U

    • V

    • W

    • X

    • Z

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan