Headline/Headline2

Headline

The Headline, limited to 250 characters, is typically displayed near the top of the page, and it also serves as the primary way to identify each page in the following ways:
  • It is the default 'label' for any link that leads to this page. (This can be over-riden for each link with the 'Label' field in the navigational modules.)

  • It is the default 'title' that appears in the colored bar at the top of the visitor's browser window. (This can be over-ridden for each page with the 'Title' field in the 'Meta' module.) Many search engines use the Title to help describe and/or rank results, so it can be a good idea on key pages of your site to include key search terms in the Title.

  • It is the way WebOnTheFly refers to the page in all aspects of editing the site, such as selecting pages when creating links.

Headline2

Headline2 serves the sole purpose of providing additional description directly on the page when more than the 250-character headline is needed.

There may be only one Headline and one Headline2 module per page.

Examples:
<cf_OnTheFly module="Headline" tag="h1 align=center">
<cf_OnTheFly module="Headline2" tag=”font face=tahoma size=4 color=808080”>





Headline and Headline2 are stored directly in the Object table. They are retrieved immediately on pageload in page.cfm as part of the ViewPage query. They are then set as local variables within the page. This means they can be accessed within modules using the 'caller' scope, and anywhere else (such as template files) using the 'variables' scope (or no scope at all).