Members

Note: You can use your Sitellite.org account here and vice versa.

Username

Password

Remember Login

Forgot your password?

Not a member? Click here to register

Page Titles

Home Page | All Pages | Recently Revised | Authors | Feeds |

There are three title fields in the Web Pages collection. At the database-level, these are title, head_title, and nav_title. In the editor, they are named Title, Window Title, and Title in Navigation. The three title fields are for the following:

  • Title is usually used in the <h1> of the page.
  • Head/window title is usually used in the <title> of the page.
  • Navigation title is usually used to link to the page from other pages.

If either of the latter two are blank, the standard title will populate them with its value. However, all are optional, as sometimes they can be the same, sometimes the page title is placed into the body itself for layout purposes and only the other two are used, etc. We try to keep it as flexible as possible here, but that's the general idea.

Examples

Some examples of their usage are as follows:

<title
    xt:content="string: Sitellite Cookbook - ${head_title}">
    Site Name
</title>
<h1
    xt:content="title"
    xt:condition="php: not empty (object.title)">
    Fake Page
</h1>

Revised on March 24, 2005 3:41 PM by lux

Back in time (2 more) | Linked from: Collections