28
Deploying Contribute to Departments and Enterprises
Dreamweaver library items must be stored on the remote server and located in the Library folder.
The Contribute administrator can set library files as locked or unlocked shared assets. A locked
library item cannot be edited in Contribute; unlocked library items are editable in Contribute
when inserted into a draft.
In Dreamweaver, a user can detach library items on the page. But in Contribute, the
administrator determines whether the library item should be locked or unlocked for a given role.
Typically, you can update all the pages that use a library item whenever you change the item’s
contents. However, in Contribute, this depends on whether the library item is locked or
unlocked.
When Contribute inserts unlocked library items, Dreamweaver library tags are not inserted into
the page code. Because Dreamweaver cannot recognize the content as a Dreamweaver library
without these tags, the published page’s unlocked library content is not updated if the library item
is modified or otherwise changed. (In Dreamweaver, modifying the source library of the library
item automatically updates the instance of the library item on the page).
If the library item is locked, the published page’s library item is updated from Dreamweaver when
the item changes.
For more information about Dreamweaver library items, see the Dreamweaver documentation.
Secure content using SSIs
Server-side includes (SSIs) let you maintain consistent page elements such as navigation, headers,
and footers. In most cases, the content contained in an SSI is not intended to be edited by a
content provider, and Contribute will not allow SSI material to be modified inline. Determined
users can, however, locate the server-side include file from the Choose File on Website dialog box,
if they know its name and path. But if you don’t include the .inc extension in the name of the SSI
file, the file cannot be edited in Contribute. By default, Contribute can open files with the
following extensions: .htm, .html, .shtm, .shtml, .asp, .aspx, .ascx, .cfm, .cfml, .php, .php3,
.php4, .phtml, .jsp, and .inc.
Files with common system extensions, such as .txt or .doc, can be opened with their associated
editor. If you choose an extension for your include file that does not fall into either of these
categories, such as .ssi, the file is effectively locked from editing in Contribute.
To be effective in Contribute, server-side includes must adhere to a particular format. Contribute
requires that SSIs not contain any of an HTML page’s structural tags, including the
HTML
,
HEAD
,
and
BODY
tags. An SSI used in Contribute must consist only of the material found
inside
either
the
HEAD
or
BODY
tag.