BASICS

ADMINISTRATION

DEVELOPMENT

SUPER ADMIN

  LAST UPDATED
4/8/2014

Third Level Tagging

This page explains how to create an editable region for In-context Editing (aka third-level tagging). This feature allows a region to be edited in an environment that mimics the original web page. For more information about this topic, feel free to watch the Training Tuesday WebEx recording on

In-Context WYSIWYG CSS Setup (3rd Level Tagging)

Explanation of Terminology:

  • Tagging: The process that HTML comments with OU-specific syntax are placed into a page.
  • Level 1 Tagging: A level of tagging where no editing CSS is used; HTML is edited with the basic, browser-provided styles.
  • Level 2 Tagging: Editing CSS is used to ensure the correct font faces and sizes are displayed in the editor, as well as custom CSS classes.
  • Level 3 Tagging: Editing CSS is expanded to include a doctored screenshot used as a background image in the editor.

Create a Screenshot

The first step in this process is to take a screen shot of the template that is going to be tagged. Then using your preferred image editing program, make several versions of the screen shot each with the content from one region removed. At this point, fading the images slightly will make them appear more as backgrounds to the editable region. Upload these images to server.

Create the CSS

Open the source code for the template being edited. After every <!-- com.omniupdate.div --> tag add a <!-- com.omniupdate.editor --> tag. This tag tells the WYSIWYG editor that the region has third level tagging. The parameters of this tag tell the editor where to look for the styling of the region. The parameters needed here are csspath, which lists the path to the css file detailing the position and styles of the region, and width which tells the editor how wide the editor should be when editing the page. It is a best practice to make the editor as wide as the backgrounds for the regions.

After inserting the tag and its parameters, the css file must be created.  In the folder listed in the value of csspath, create a css file. The only element that is required to be styled is the body. The styles that are required are the margin, which determines where in the editor the editable region is, the background, which will place the image you created earlier as the background of the editor, and the width, which tells the editor how wide the region is. For more information:

Customizing the Styles Drop-down

Add any other styles that are needed for the body or any other tags. Then save the css file, edit the region and check for any adjustments that are needed. Then repeat the process for every region in the template.


Was this page helpful?

Additional Comments:


(Include your email address if you would like a reply)

Procede to http://support.omniupdate.com/