Page Structure

The page structure section for a design determines what is shown on the website and where it is shown. Everything that you put in the site structure tab is everything that will be displayed in the body of the web page.

Use XHTML 1.0 strict

Net-at-hand generates valid XHTML1.0 strict for all websites. Make sure the markup you place in the page structure is valid.

Special Elements for Net-at-hand

Net-at-hand uses a series of xml elements to determine what goes where when rendering a web page. You should place these elements in your site structure wherever you want Net-at-hand to insert content. Here is a list of those elements:

Make sure that each of these elements is closed properly.

The purpose of each type is discussed below.

Type=”title”

This is simply the title of the website. Whatever you or the client sets as the title for the site will be put here.

Type=”tagline”

The tagline set by you or the client.

Type=”content”

This is the content generated from Net-at-hand. For a page, it will be the text of the page. For a calendar, it will be the generated calendar. You get the idea?

Type=”zone”

This is a zone where the site administrator can administer different content types that are rendered dynamically based on the page. Zone elements have several attributes that you will need to use. These are explained below.

Title

Each zone element must have a title. The title must be unique within the particular design. The title is how Net-at-hand knows about how each zone is configured.

Content

The content attribute tells Net-at-hand what kind of content you want to allow in that particular zone. They are:

Any one of the groups above can include all of them by listing the group name. Whichever type of content you want to be the default should be listed first.

The following example will create a zone that will allow only for text. <nah:site-element title="Top content" type="zone" content="text" />

This next example will allow for “text” and “menus” with the “main menu” set as the default. <nah:site-element title="Top menu" type="zone" content="main menu, menus, text" />

Heading

Add the heading attribute with a value of “true” to a zone element, and that zone will allow the end user to add a heading above the zone’s content. So, for example, a zone element like this: <nah:site-element type="zone" title="Sidebar 1" content="recent blog posts" title="true" /> will allow the end user to have a zone configured that says something like “Recent posts to my blog” and then a list of recent blog posts.