Use static blocks for text that does not change. For example, use a static block for
a site footer with only the company or organization name. A static HTML block allows any
HTML code to be run within a page.
Avant de commencer
Role required: content_admin or admin
Pourquoi et quand exécuter cette tâche
Anyone who edits their own HTML, Jelly, or Javascript may find the HTML editor in the
static block limited. The HTML editor can also add tags or formats that advanced
coders find unnecessary. For more advanced options, use dynamic
blocks.
Procédure
-
Navigate to .
-
Click New.
-
Complete the Static Content form.
Tableau 1. Static content form
| Field |
Input value |
| Name |
Type a unique name for the static HTML content
block. |
| Category |
Select a category to provide organization for the
static HTML block. The category also determines the
detail page in which static HTML block links open.
Detail pages often display information in different
ways. |
| Frame |
Select a border styling for the static HTML block.
For more information, see Format a frame. |
| Active |
Select this check box to make the block available for
use. |
| Conditional |
Enter any scripted conditions to be applied. If
selected, adds a Condition script
field and Logged on check box to
the form. |
| Static Content |
Enter
HTML code
that determines the behavior of
the static HTML block. |
-
Click Submit.