SiteEdit 1.3
The SiteEdit 1.3 Template Building Block enables SiteEdit on Pages and Component Presentations by inserting SiteEdit tags for Component Presentations and Component Fields. For Pages, it also outputs the SiteEdit initialization call.
Use
Add the Compound Template Building Block to each Page Template or Component Template for which you want to apply SiteEdit activation.
Parameters
The parameters of this default Template Building Block are:
- Target Type URI
-
Specify the URI of the Target Type where SiteEdit enabled content is published to (typically a staging server where the content is already published but not yet public).
- Server
-
Specify the Web address of the Content Manager, for example
http://localhost - Language
-
Specify a four digit language code for the SiteEdit interface (optional):
- Dutch
1043 - English
1033 - French
1036 - German
1031 - Spanish
1034
- Dutch
- Default HTML Tag
-
Specify the HTML tag used for demarcating SiteEdit functionary in Component Presentations or Component Fields (optional). The default is
<span>. - Edit Button
- Enable (true) or disable (false) the Start SiteEdit button that appears in the bottom right hand corner of the published Page. The button is enabled, by default.
- Add Prompt
-
Show a prompt when a user adds a Component (
dialog) to a Page, or not (no). The default isno. - Publish Prompt
-
By default, any change to a Page or Component is automatically saved and published (if the user has permissions to publish). You can change the default as follows:
no- to never publish the Component or Page, regardless of user permissions
dialog- to show a prompt to the end user
yes- to always publish the Component or Page (if permissions allow)
- Insert Position
-
Specify whether new Components are added to the
toporbottomof the Page. The default istop. - Include Templates
-
Specify a semi-colon separated list of Component Template URIs for which SiteEdit is activated. For example:
tcm:1-2-32;tcm:1-3-32; The default value (empty) activates SiteEdit for all Component Templates. You can also specify movement labels for Component Templates. Movement labels allow you to restrict the movement of Components: a user can only place a Component Presentation before or after another Component Presentation if they have the same movement label. For example (on a single line):label_1=tcm:1-2-32; label_2=tcm:1-3-32; label_1=tcm:1-4-32; - Default Movement Label
-
Specify the default movement label for Component Presentations if no movement label was explicitly defined (using the Include Templates parameter):
none- do not assign a movement label (default)
all- assign a default movement label
template- use the Template URI as the movement label
- Color Removed Item
- Specify a color (a six-digit hexadecimal string) to indicate that this Component has been removed from the last version of the Page (optional).
- Color Normal Item
- Specify a color (a six-digit hexadecimal string) to indicate that the end user can edit this Component, if properly authorized (optional).
- Color Removed Work Item
- Specify a color (a six-digit hexadecimal string) to indicate that this is a Workflow Item assigned to the end user, but it has been removed from this Page (optional).
- Color Removed Work Item
- Specify a color (a six-digit hexadecimal string) to indicate that this Component has been assigned to the end user through workflow, or the end user has explicitly checked it out (optional).
- Color Inactive Work Item
- Specify a color (a six-digit hexadecimal string) to indicate that this is a Workflow Item assigned to the end user, but the users mouse is not over it (optional).
- Color Swap Item
- Specify a color (a six-digit hexadecimal string) to indicate that this Component was selected for moving (optional).
- Color Inactive Swap Item
- Specify a color (a six-digit hexadecimal string) to indicate that this Component can be swapped with a Component selected for moving (optional).