![MACROMEDIA CONTRIBUTE-USING CONTRIBUTE Скачать руководство пользователя страница 202](http://html1.mh-extra.com/html/macromedia/contribute-using-contribute/contribute-using-contribute_use-manual_3310884202.webp)
Chapter 17
202
Editing static content in dynamic pages
You can allow users to edit static content within dynamic pages and protect only the dynamic
portions of the page.
Contribute users cannot edit source code, nor can they edit anything outside of the
<body>
and
<title>
tags of a page. This protects initialization scripts and include files from being edited. To
protect dynamic elements within the body of your page, consider the following precautions:
•
Use templates to block off dynamic parts of your page. For example, if you have a page that
incorporates dynamically generated content (such as
CFLOOP
in ColdFusion, or repeating
ASP), you can make that page into a template, ensure that those regions of the template are
locked, and create an instance of the template. Contribute users will only be able to edit within
the editable regions specified.
You may not want users to create new pages from these templates, or copy those pages. To
learn how to restrict users from creating new pages from your templates, or copying those
pages, see “Setting permissions for new web pages” on page 177.
•
By default, Contribute prevents users from deleting code. This is an option in the Editing
category of the Permission Group dialog box, that you can select if you want to allow users to
delete code. For all pages not already protected by templates, this prevents the selection and
deletion of any common web server tags, such as
SCRIPT
tags, server-side includes, ASP, JSP,
ColdFusion, and PHP. It also protects any tag with a non-text character in the tag name, such
as
ASP:MyTag
. However, it may not be able to recognize and protect custom tags, such as
myCustomTag
, and the data elements between ColdFusion
CFOUTPUT
tags such as
#...#
.
Users are able to edit plain HTML enclosed in conditional tags (such as the content between
CFIF
and
CFELSE,
and other HTML container tags such as
CFOUTPUT
).
For more information, see “Setting page editing and paragraph permissions” on page 173.
•
Limit editing to text-only. This is an option in the Editing category of the Permission Group
dialog box, that you can select to limit users to only editing and formatting text. For any page
not protected by a template, users will only be able to edit text and common text formatting
tags (such as
b
,
font
,
span,
and so on.). No other tags can be selected or deleted. However,
HTML content between tags may be editable.
For more information, see “Setting page editing and paragraph permissions” on page 173.
Содержание CONTRIBUTE-USING CONTRIBUTE
Страница 1: ...Using Contribute Macromedia Contribute...
Страница 10: ...Contents 10...
Страница 12: ......
Страница 34: ...Chapter 3 34...
Страница 56: ...Chapter 5 56...
Страница 80: ...Chapter 7 80...
Страница 100: ...Chapter 8 100...
Страница 118: ...Chapter 9 118...
Страница 124: ...Chapter 10 124...
Страница 134: ......
Страница 138: ...Chapter 12 138...
Страница 142: ...Chapter 13 142...
Страница 180: ...Chapter 15 180...
Страница 188: ...Chapter 16 188...
Страница 214: ...Index 214...