Page Tagging: The Basics
OmniUpdate tags are how regions on a page are rendered editable. All standard OmniUpdate tags are structured in the form of HTML comments, with the exception of template tags which will be discussed later; these standard tags wrap around certain chunks of code on a page to turn those areas into editable regions.
There are three major tags that can be used: start tags, editor tags, and end tags. Tags define the location of editable regions on a page, the group of users which have access to edit, and various other optional parameters that can be passed to the editor. OmniUpdate tags also keep a page "whole" during preview and approval (while viewed on the staging server) by correctly processing include files.
The start tag denotes the beginning of an editable region. It can contain variables that define the following:
- what group can edit the region;
- the specific image that appears as the clickable button to access the region in the editor;
- a border color that surrounds the region;
- padding between the border (mentioned above) and the content within the region;
- a background color for the region; and
- whether a line break should separate the button from the beginning of the region.
The editor tag is optional. If it is included, it can contain variables that determine the following:
- the path to the CSS stylesheet to be pulled into the editor while a user is editing this region;
- the path to the text file that contains "instructions" for the editor concerning which CSS-driven styles to display in the editor's "Styles" drop-down menu; and
- how wide the editor should appear to be.
The end tag is used to tell OmniUpdate where the specific editable region ends (i.e., is no longer editable as part of this region after that point). It does not contain any parameters.