Standard Pages

Standard page is the template used in the content page. This page is default template of the content management system.

Appearance of the Standard Pages

Standard pages are content page of the online document. This is the default template.

default template

The default setting of the Standard Page is 2 column layout. The navigation parts and side parts is on the left of the template. This 2 column layout is implemented by the Container Template.

Design Setting of the Standard Pages

The setting of the Standard Template is following.

Layout

The layout setting is below.

Template Layout

This template contain following parts.

  1. header
  2. bread list
  3. Middle of Main Page
  4. footer

The Middle of Main Page is the Container Template which includes the main part of this page. The Main part has side area and article area, and it is located in the 2 column lines.

Html

The Html of this template to be generated is below.


In this template, The "$autoHeader" section is to be replaced with the html code generated from the layout setting you set.

Style Sheet

The style sheet of this template is below. The publishing engine generate "$autoHeader" section, and it is wrapped by the "div" tag whose id is "wrap".

Server side program of the Standard Pages

The server side program of the Standard Pages is below.


The server side program of the Top Templates are almost same. Therefore, understanding one of this template means understanding other ones.

Main program

The main part of this program is below.

This program has 3 segments, each one does following procedure.

  • Get current page object
  • Making title
  • Make $self variable which is the canonical url of this page

Get current page object

At the first section, getting the current page object by calling "getPage()" function. The code of the function is below.

Making title

After getting the page object from the database, make the title.

The sub title is optional, so, when the subtitle is input, add it.

Make canonical url

To make the canonical url, it uses "getSchemeAndSite()" and "getUrl()" function like source code below.




Go to Top