55
47
USING CONTRIBUTE
Working with existing web pages and blog entries
Last updated 4/30/2011
For all workflows other than Author > Publish, the web page must be reviewed/approved before it is published.
When users receive a web page, the toolbar displays buttons for actions that the users can perform and to which they
have permissions. Actions are similarly enabled or disabled in the menu bar (File > Actions.)
For example, a webpage test.htm is associated to a template that has the Author > Review > Publish workflow assigned
to it. When authors complete adding content to the page, they can only send it for review. The Publish button does not
appear in the toolbar until the web page comes back from the reviewer. Similarly, the toolbar of the reviewer has
buttons for only those actions available to the reviewer. When the reviewer completes reviewing the web page, it can
only be sent back to the author for further action.
Workflows are defined in XML files, and decide the course of the web page from its authoring stage to the time it gets
published. It is possible to create your own workflow by customizing an existing XML file. However, Contribute checks
only for syntax errors in such XML files.
The XML files for workflows are protected on the server, and users cannot download and edit these files.
Note: Workflows cannot be assigned to blog pages.
You can send a draft for edit, review, or approval to anyone who has connected to the website. Contribute stores user
names when users connect to the website. You can send the draft to multiple reviewers at the same time. However,
only one reviewer can review the draft at a given time. When you send a draft for review or approval, you transfer
“ownership” of that draft. You cannot proceed to the next stage in the workflow until the draft comes back from all the
people to which it has been sent.
All the users, to whom the web page draft has been sent, must approve the draft. If even one user rejects the draft, it is
removed from the Pages panel of all the users to which it has been sent. The draft is then returned to the author.
When you receive a draft for review or approval, it appears in your Pages panel in Contribute. You might also receive
an e-mail message from the sender to alert you that you have a draft to review or approve. When you complete editing,
reviewing, or approving the draft, the draft is returned to the author.
The following table lists the actions that are available in Contribute during the life cycle of the web page. Only those
actions are available to users for which they have permissions, and which can be performed at that stage of the web
page life cycle.
Action
Description
Publish
Publishes the web page. All intermediate drafts are deleted and all inbox messages are removed.
Send
Uploads the files to a temporary location in the site and sends messages to the recipients. The task for a
draft sent to multiple recipients is closed only when all the recipients perform one of the actions assigned
to them, or when one of the actions like publish, or delete terminates the workflow. The options available
for this action are listed in the subsequent rows.
Send for Edit
Sends the page for editing.
Send for Approval
Sends the page for approval. The approver cannot edit or review the draft.
Send for Review
Sends the page for review. The reviewer cannot edit the web page; only comment on it.
Send for Publish
Sends the page for publishing if the author does not have permissions to publish.
Edit Draft
Opens the draft for editing.
Edit Done
Closes the edit session. The web page moves to the next step in the workflow.
Delete Draft
Deletes the draft in the WIP (work in progress) state and closes the workflow.
Delete Page
Deletes the page from the website.
48
48
USING CONTRIBUTE
Working with existing web pages and blog entries
Last updated 4/30/2011
Web pages continue to use the initial workflow of a template till they are published. Any changes made to the workflow
during the draft cycle are reflected only when the web page re-enters the cycle.
You can select the option to publish a web page along with its dependent files and linked files if they are in the same
workflow. The location of linked/dependent files that have a different workflow is finalized on the site, but they are not
published.
All dependent files of the published file are published along with the published page. Shared dependent files are also
published. However, dependent files exclusive to the linked file are published with the linked file.
For example, consider the following case:
• Page1.htm is based on the template template1.dwt with the workflow Author > Publish.
• Page2.htm is based on the template tempate2.dwt with the workflow Author > Review > Publish.
• Page1.htm is associated with the dependent files (assets) wav1.mp3 and video1.mpeg.
• Page2.htm is associated with the wav1.mp3, and video2.mpeg files as its dependent files (assets).
When Page1.htm is published, the dependent files wav1.mp3, and video1.mpeg are also published. The location of
Page2.htm is finalized on the site, but it is not published until the workflow of Page2 is complete. The dependent file
video2.mpeg is published only when Page2.htm gets published.
The status and information of a page at any stage of the lifecycle is available on the status bar, the draft history, and the
Draft Console.
Users connecting to a website administered using a previous version of Contribute cannot use the workflow feature
until the site is upgraded. Users with previous versions of Contribute cannot assign a workflow to their templates.
When they send their pages for review to users of Contribute CS5, the reviewers can use only those features that were
available in the previous release.
Users of previous versions of Contribute can receive pages created in Contribute CS5 only after they upgrade. For
Contribute CS5 pages that have been sent to users with previous versions, the author can undo the send, and retrieve
the file.
The e-mail review process
The Contribute e-mail review process uses your default e-mail application to create a message containing a web
address where reviewers can see a temporary copy of your draft. Contribute automatically creates the temporary copy
on the same server where you publish your website. The recipient clicks the web address (URL) link in the e-mail
message to view your draft.
Discard Draft
Clears any changes made to the draft.
Undo Send
Returns the draft to the person who sent it and deletes it from the inbox of the recipients.
Return
Returns the draft to the sender if the web page has been unaltered.
Review
Opens the web page for review.
Review Done
Closes the review session.
Reject
Rejects the draft. Even if one of the reviewers rejects the draft, the draft is deleted from the inbox of all the
other reviewers. The draft is returned to the author.
Action
Description
47
49
USING CONTRIBUTE
Working with existing web pages and blog entries
Last updated 4/30/2011
When you send an e-mail review request, Contribute displays a message under the toolbar to alert you that you sent
the draft for review; the message includes the date you sent the review request. You can then save the draft for later,
until you get feedback from your reviewer, or you can continue editing the draft.
After reviewing your draft, the reviewer can send you feedback by e-mail. The reviewer cannot edit the review draft.
You can make changes to your draft based on the reviewer’s feedback, and then publish the draft or request another
review. When the draft is canceled or published, Contribute removes the temporary copy of the draft that it placed on
the server for the reviewer.
E-mail review process
About templates
A Dreamweaver template contains a preset page layout and includes elements such as text and images. A template
gives you a starting point for new web pages and blogs. Using a template can ensure that the pages on your website or
blog have a consistent look.
Templates are also associated to workflows. Web pages created using a template will follow the workflow assigned to
it. For more information about workflows, see “The draft review process” on page 46.
For example, on a company’s internal website, the company employee template might contain basic elements and
provide sections for employee information. Suppose the template has the company logo and address, and blank
sections for the employee’s name, department, phone number, and picture. Any new employee page based on the
company employee template inherits the same page layout.
In a template, the designer creates regions to control which elements of a template-based page you can edit. There are
editable regions in a template, which you can edit, and locked regions, which you can’t edit. In the employee template
example, the company logo and address might be in a locked region. The employee information sections would be
editable regions.
You request an
e-mail review.
Reviewer clicks
link in e-mail to
view the draft.
Reviewer sends
you e-mail
with feedback.
You make edits
to draft
as necessary.
You are ready
to publish!
Finished?
Yes
No
1
2
3
4
5
How to C#: Basic SDK Concept of XDoc.PDF for .NET Document Protect. You may add PDF document protection functionality into your C# program. OutLines. This class describes bookmarks in a PDF document.
create bookmarks pdf file; bookmark pdf documents
21
50
USING CONTRIBUTE
Working with existing web pages and blog entries
Last updated 4/30/2011
A. Locked region B. Template tab C. Editable region
More Help topics
“Edit a template-based web page” on page 65
Edit existing web pages and blog entries
You can edit web pages on websites and blog entries on blogs that you’re connected to and have permission to edit (see
“Connect to a blog” on page 4). You cannot edit a web page or blog entry if it is locked—that is, if someone else is
currently editing it. When you browse to a web page or blog entry, the message area under the toolbar indicates
whether you can edit it.
Contribute supports editing content in dynamic sites that use the Atom and MetaWeblog blog protocols.
While you edit a web page or blog entry, Contribute saves it as a draft, and the draft title appears in the Pages panel in
the sidebar.
The Pages panel
For more information, see “Edit a web page” on page 51. For information about working with drafts, see “Save drafts”
on page 58.
A
B
C
39
51
USING CONTRIBUTE
Working with existing web pages and blog entries
Last updated 4/30/2011
Note: To edit a Microsoft document that you’ve linked to on your website, see “Edit web pages in an external application”
on pag e71.
There might be restrictions on which parts of a web page draft you can edit. Your template designer can create a
template with locked regions, or your Contribute administrator can set up editing constraints that restrict editing to
text only.
Note: If you do not have permission to edit a page or part of a page that you need to edit, talk to your Contribute
administrator or see “Managing users and roles” on pag e295.
You can also use Contribute plug-ins to edit web pages and blog entries from your browser, such as Internet Explorer
and Mozilla Firefox. For more information, see “Edit a web page or blog from your browser” on page 55.
Edit a web page
After you’ve connected to a website, you can easily browse to and edit pages on that website.
1 Browse to the page to edit (see “Browse to web pages and blog entries” on page 24).
2 Do one of the following:
• Click the Edit Page button in the toolbar.
• Select File > Actions > Edit Page.
The page appears in the Contribute editor as a draft, and the draft title appears in the Pages panel.
More Help topics
“Edit existing web pages and blog entries” on page 50
“Save drafts” on page 58
Edit web pages created using a content type
1 Connect to a website using the list in the Contribute startup page.
2 Click the required file within the parent directory.
3 In the browser, click Edit Page.
4 Edit the contents of the page.
5 Send the page for review, or publish the page.
Note: When you publish a page associated with a content type, an entry is added in the history file.
Edit XML pages
You can browse XML pages, edit them, and publish them back to the website. Only such XML pages that have a valid
structure can be edited in Contribute. Contribute validates XML pages before displaying them for editing, and also
while publishing them. You cannot create new XML pages in a site. You can however, copy an open XML page using
the Copy Of Current Page Or Publish As New Page option.
1 Browse to the required XML page that you want to edit in Contribute.
2 Click Edit Page in Contribute browser, or select File > Actions > Edit Page. The XML page opens as a draft in
Contribute.
3 Change the values of attributes and elements.
44
52
USING CONTRIBUTE
Working with existing web pages and blog entries
Last updated 4/30/2011
For example, in the following snippet, you can edit the content within the name tags such as "abcd" or "efgh" but
not the name tag itself.
<root>
<name>
<first> abcd </first>
<second> efgh </second>
</name>
</root>
4 (Optional) Click XML icon in the toolbar to validate the edit.
5 Send the page for edit/review or publish the page.
Editing spry widgets
Widgets are objects used to provide an enhanced user experience in a web page. Accordions, tabbed panels, collapsible
panels, and so on, are some examples of widgets. Widgets on HTML pages are created using HTML, CSS, JavaScript,
and images. Many applications used for designing websites provide pre-built widgets to designers. You can easily
customize pre-built widgets by modifying the values and incorporate them into your web page. The changes to the
code are taken care automatically.
A spry widget is a widget that is built according to an Ajax framework. The framework is designed in a way that
simplifies the building and editing of widgets. A spry consists of HTML, CSS, and custom spry attributes. The widget
structure is built using HTML. A JavaScript call is used to pass an ID to the spry. To change the appearance of the
Widget, change the values in the CSS file. For more information on spry widgets, see
www.adobe.com/go/learn_ct_spry_widget_model_en.
Edit spry widgets
Contribute identifies and labels spry widgets that have been created in Dreamweaver. Ensure that you have the
required permissions to edit widgets. The option to edit widgets is disabled if your administrator has not granted you
the required permissions.
1 Open your draft in the edit mode.
2 Select the widget for which you want to modify the properties.
3 Open the Widget Properties dialog box by doing one of the following:
• Click Widget Properties icon in the toolbar.
• Select > Format > Spry Widget Properties.
4 In the widget properties dialog box, edit the values as required and click OK.
Note: Based on the widget selected, a preview state list menu is displayed in the toolbar. For example, a widget for
Forms can have one of the two states: "valid" or "error". The states are displayed in the widget properties dialog box.
You can edit pages containing spry widgets in Contribute if they have been designed in Dreamweaver CS3 or
Dreamweaver CS4. The following widgets are supported in Contribute:
• Spry Text Field
• Spry Select
• Spry Checkbox
• Spry Text Area
• Spry Radio Group
43
53
USING CONTRIBUTE
Working with existing web pages and blog entries
Last updated 4/30/2011
• Spry Menu Bar
• Spry Tabbed Panel
• Spry Accordion
• Spry Collapsible Panel
• Spry Tooltip
• Spry Password
• Spry Confirm Password
Enable users to edit widgets
Administrators can enable or disable editing of widgets for users of the website.
1 Select Edit > Administer Website > <Click the website you want to administer>
2 In the Administer Website dialog box, select a role, and click Edit Role Settings.
3 In the Edit User Settings dialog box, select Editing in the left panel.
4 In the Other Editing Options section, do the following:
• Select Allow Users To Edit Widget Properties (Spry Widgets)
• Select Allow Users To Copy And Paste Widgets (Spry Widgets).
• Deselect the option Protect Scripts, Forms, And Spry Widgets from the General Editing Restrictions section, to
allow users to delete a spry Widget.
Editing SSI (Server Side Include) information
An SSI (Server Side Include) file contains common information that is shared across web pages. You use an include
tag in web pages to reference content from an SSI file. Any change that you make to the content in the SSI file is
reflected across all web pages.
For example, to reference content from an SSI file (xyz.ssi) in a web page, use the format:
<!--#include file="../xyz.ssi" -->
The xyz.ssi file contains information in the format:
<p> [Common Content] </p>
Contribute lets you edit the SSI content in a web page. When you edit the SSI content and publish the web page, the
changes are reflected across web pages that contain a reference to the SSI file.
Edit SSI information
When you try to edit SSI information, Contribute searches for the source HTML content in the server and displays it
in the browser for editing. You can edit SSI information in the following types of pages on your website.
SSI such as CSS, Scripts are not displayed and are locked for editing even when you select the section manually.
PHP
Pre Hypertext Processor
ASP
Active Server Pages
JSP
Java Server Pages
CFML
ColdFusion Markup Language
41
54
USING CONTRIBUTE
Working with existing web pages and blog entries
Last updated 4/30/2011
Note: The option to edit SSI is not supported in the IBE (In Browser Editor).
1 Browse to the page containing SSI contents.
2 Click Edit Page, or select File > Actions > Edit Page.
3 Select the section which has information from an SSI include file.
4 Select Edit Included Files from the toolbar or select Format > Edit Included Files.
5 Select the type of file you want to edit from the list.
Note: Contribute displays files included in the current selection.
6 Edit the SSI content as required and publish with the new changes.
Edit a blog
You can make changes to a blog entry in two ways. You can edit an entry directly in Contribute. Alternatively, if you
have an entry in a browser window, you can click the Edit In Contribute button to start Contribute, where you can edit
the entry. For more information, see “Edit a web page or blog from your browser” on page 55.
Note: If the Edit Page or Edit Entry button is not visible in the toolbar in the Contribute application, you aren't connected
to the blog server hosting the blog. Click the Create Connection button in the toolbar to create a connection to the blog
server.
1 Browse to your blog home page.
2 From the Entries pop-up menu, select the blog entry you want to manage, or select View > Select Blog Entry > blog
entry title and choose the relevant blog entry to edit. Alternatively, select View > Choose File or Blog Entry, and in
the Choose File or Blog Entry dialog box, click the Edit button.
The selected blog entry appears in the embedded browser, and the title of the selected blog entry is displayed in the
Entries pop-up menu.
3 Click the Edit Entry button or select File > Actions > Edit Entry.
The blog entry opens as a draft in Contribute. You can make your changes to the content as needed, and publish
the entry.
Note: You can link this blog entry to a blank blog entry and publish the entries. For more information, see “Link to a
new blank blog entry” on page 189.
More Help topics
“Edit existing web pages and blog entries” on page 50
“Save drafts” on page 58
“Manage blog entries” on page 91
Edit a web page stored on your computer
You can use Contribute to edit pages that aren’t on a website you’ve connected to; you can open an HTML page saved
on your computer and make your edits. The experience is similar to using Notepad or TextEdit, but it has the ease of
use and functionality of Contribute.
For example, suppose you receive an HTML page in e-mail that you need to edit for a coworker. Even if the page isn’t
associated with a website you’ve connected to, you can save the page to your computer, open and edit the page in
Contribute, and return it to your coworker.
Documents you may be interested
Documents you may be interested