| Oracle® Universal Content Management 10g Release 4 (10.1.4) |
![]() Contents |
![]() Index |
![]() Previous |
![]() Next |
Site Studio Designer Guide > User Interface > Snippet Properties Dialog
A snippet is the text or code that a fragment adds to a page template (in one of four locations). A fragment must have at least one snippet. You can define the properties of the snippet in this dialog, and then edit the content of the snippet in the Fragment Editor.
| Element | Description |
|---|---|
| Name | The name of the snippet.
(The name may contain spaces and special characters, if you like.) |
| Location | Determines the location where the snippet is added on a page template.
There are four options: drop-point: Inserts the snippet where the cursor is located on the page template. head: Inserts the snippet in the head of the page template (specifically the end of the <HEAD> tag). top-of-body: Inserts the snippet at the beginning of the body in the page template (immediately following the <BODY> tag). bottom-of-body: Inserts the snippet at the end of the body in the page template (immediately preceding the </BODY> tag). |
| Include | Determines the way in which the snippet is added to a page template.
There are three options: simple: Adds the entire snippet to the page template. If parameters are present, their values are added directly to the page, making them a permanent part of the page. The fragment is no longer recognized as a fragment and its parameters cannot be changed. inline: Adds the entire snippet to the page template. As an inline snippet, however, the fragment and its parameters are still recognized as a fragment. You can still move the fragment, delete it, and modify its parameters. reference: Adds a reference to the snippet in the page template (similar to an include file). As a referenced snippet, it is still recognized and managed as a fragment, and you can still edit the fragment in the Fragment Editor and then see the changes on your page template. |
| Design View Code | Creates placeholder text for the fragment snippet when the snippet is viewed in Design view.
The Additional Information button opens a text editor that you use to enter placeholder text. This Element is intended for snippets inserted in the drop-point, top-of-body, and bottom-of-body locations; not the head location. |
| OK | Saves your settings and closes the Snippet Properties dialog. |
| Cancel | Cancels your settings and closes the Snippet Properties dialog. |
| Help | Opens the online help for this specific dialog. |