Language:


Building a Web Page - Specifying the Position of each Element on a Page

This page describes positioning Elements on a Page, one of the steps to be followed when building a web page. Please refer to the following pages for details about each step in this process:
Notes:
  • The terms "Page" and "Web Page" in the application and in this documentation both refer to records in the Page register and are interchangeable. The terms "page" and "web page" (lowercase) refer more generally to a page in a browser i.e. it is what you will construct using a Structure, a Page, one or more Elements and text, images and other content.

  • All the settings and registers mentioned are located in the Webshop and CMS module unless otherwise specified.
---

After creating new Elements as described here, return to the Page record to specify where the new Element will appear in the HTML code of the page. To do this, open 'Paste Special' from the Rel. Position field in the relevant row on the 'Elements' card:

Choose "Before", "Content" or "After" if the Element is to appear in the <body> section of the page. "Before" Elements will appear first, then "Content" Elements and finally "After" Elements. If there is more than one Element with the same Rel. Position, they will appear in the order in which you have listed them in the matrix in the Page record.

If you choose "HTML Head", the Element will appear in the <head> section of the page. You might choose this option for an Element with a linked Translation that contains meta tags, a stylesheet and/or a link to a JavaScript script. The Translation must not contain anything that will be displayed on the page (i.e. text, images, etc). You should select the Don't wrap in <div> option in the Element but do not select the Automatically add HTML line breaks option in the Translation. If an "HTML Head" Element begins in <head> and ends in <body>, the probable reason is that it contains text or an image, you have not selected the Don't wrap in <div> option or you have selected the Automatically add HTML line breaks option. This will have a knock-on effect on subsequent "HTML Head" Elements (i.e. Elements that you have listed below it in the matrix in the Page record) because they will appear entirely in <body>.

---

Building a web page in Standard ERP:

Go back to: