Creating a page model

When you create a page model, you can specify some properties:

Label:

This is the title of the model.

The label must allow you to see if the page model is model of a welcome page or an interior page, etc.  It must allow you to identify the model as quickly and as simply as possible.
It is used in particular to choose the model when a new page is created.

Example : "Interior - EN"

Description :

Explicitly describes the meaning of the label and the use of the model.

Example: "Page model for interior pages of the English site."

Group:

Allows you to classify the models according to certain characteristics.

The groups are used to search for and organize the models, but also to affect user rights.  Example:  one can prohibit an editor from using models from the "EN" group.

Example:  a page model can be classified in the "EN" category so that it corresponds to the page model of the English site.

New groups:

Allows you to create a new classification group.

Example:  It is possible to create an "ES" group that corresponds to the page model in Spanish.

Sites:

Allows you to define which site(s) can be used.  Example:  One can choose to restrict the use of a model to the Spanish site alone.

Thumbnail:

Graphic visualization of a page model in order to see it before applying it to pages.

It allows you to have a view of the models when you create a new page.

Definition XML (tags): Correspond to the XML structure of a model:

The procedure to follow in order to insert a model is as follows:

  1. Prepare the XHTML model.
  2. Transform the links, meta-data and the content zones.

1. Prepare the XHTML model:

First of all, it is useful to prepare an XHTML model from the images supplied.  This XHTML model must be able to function on all platforms and navigators  (according to their specifications, the versions and/or platforms may be restricted.)

Attention! This model must be in XHTML format, that is to say compatible with XML.  In effect, a parser will go over the model not for validation, but to test that the file is well-written (the tags must be closed, the attribution values placed in quotation marks, the entities must be declared, etc.)
The best way to test the form of an XHTML model is to try and import it as a model into the administration of the application.

2. Transform the model:

Default content rows:

The default content rows are the rows which will be inserted automatically into your pages when you create a new page with the current model.

Use the rows frequently employed in the pages using your model.

You can:

  • Add a content row.
  • Move a content row.
  • Delete a content row.

Print:

Allows you to choose which content zones (client spaces) to print, once the printing is activated.  (You can set these parameters in Automne Parameters).

You can next make a link to a print page with the tag <atm-print-link />.

 

If the module "Search engine" (ASE) is installed, it is necessary to activate  printing (You can set these parameters in Automne Parameters) and to define the printable client spaces.
In effect, to index the "Page management" module, the search engine only indexes pages having printable content.


Bookmark and Share

Top