Reference library

Article number: 300914

Content Layouts

Content Layouts are included in every page on your site that is not a module page. They will define the structure of the content on a page, and are included in the chosen layout with the <COMMENT>CONTENT</COMMENT> syntax. They are usually applied on a page-by-page basis, but can also inherit from a parent page.

Content Layouts may include (but not limited to) elements such as navigation, breadcrumb trails, Sitekit XML data islands, Embedded Forms, Internal, External, Child and Download Links.

A Content Layout is typically used to define the position of text and images on a web page. Content Layout typically fit into the framework of a Page Layout.

Most websites use several Content Layouts, each one accommodating a particular type of content.

Actions relating to Content Layouts include:

  • Create a New Content Layout
  • Edit a Content Layout
  • Rename a Content Layout
  • Delete a Content Layout

You may well wish to use Sytem Variables (Magic Words) with your Content Layouts. The latest version of the syntax guide.

Content layouts can be set up to trigger in specific instances such as for outputing to print or outputting to mobile devices. These are set up as secondary browser options for existing content layouts via radio buttons in the 'properties' tab. In the case of printers content layouts these are triggered by placing a 'print page' magic word on the site that invokes the alternate print content layout for the page in question. In the case of mobiles content layout these are triggered by the presence of 'mobi' in the user agent string. The mobile content layout use can be made optional via the use of the mobileswitch magic word which allows user to toggle between mobile and desktop content layouts.

 

 




Related questions