WebsiteX5.info - The ultimate guide for Incomedia's WebsiteX5

Search this site

Go to content

Main menu:


Create your own Websitex5 templates | What' s index.html all about?

Themes > Templates > Create your own templates

Index.html is the main template file. It defines where the different parts of the website are going to be placed on the webpages.

The content of the file index.html for a vertical layout looks like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0S trict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
     <!-- Robots -->
     <meta http-equiv="Expires" content="0" />
     <meta name="Resource-Type" content="document" />
     <meta name="Distribution" content="global" />
     <meta name="Robots" content="index, follow" />
     <meta name="Revisit-After" content="21 days" />
     <meta name="Rating" content="general" />
</head>
<body>
<div id="imSite">
<div id="imHeader">
     <h1>[
imSiteTitle]</h1>
</div>
<!-- InnerJump_Menu -->
<div id="imBody">
     <div id="imMenuMain">
[imMenuMain]
     </div>
<!-- InnerJump_Content -->
     <div id="imContent">
[imContent]
     </div>
     <div id="imFooter">
          <hr class="imInvisible" />
          <span id="imFooter_L">[imNote]</span>
          <span id="imFooter_R">[imEmail]</span>
          <br class="imClear" />
     </div>
</div>
</div>
<!-- InnerJump_Footer -->

</body>
</html>



For Evolution 8 the red lines are obsolete.



The index.html file is a normal html-file, containing placeholders for the various parts of the websitepage.

These placeholders are:

imSiteTitle

The title of the sie as defined in the General Settings Dialog

 

imMenuMain

laceholder for the main menu. WX5 generates a list with menu items. This placeholder is replaced with this list

 

imContent

The main content area. The pages you create are placed in this area

 

imNote

The footer note you defined in the General Settings dialog

Obsolete in Evolution 8

imEmail

The email address you entered in the General Settings dialog

Obsolete in Evolution 8


The WX5 templates are all of a fix width type, where the page is centered on the screen. You can create other designs as wel, although a liquid layout, where the width of the content area depends on the width of the screen isn´t possible. The image below shows the placement of the div's and the placeholders in the vertical layout (click to enlarge).

Click to enlarge...

Again in Evolution 8 the placeholders for imNote and imEmail are not there anymore...


Back to content | Back to main menu