Editing a Channel Layout

From unroole CMS wiki
Jump to: navigation, search


Channel Layout Editor.png

The additional "content" box type highlighted and used in a channel layout.

Editing a channel layout uses the same Layout Editor used by pages with one exceptions. Channel Layouts have access to a special type of box called a "content" box which defines the area of the page where page content will be added when viewed by a user. This special box allows admins to visually define the area where page content will go as well as configure a default area to be used when editing and previewing the layout to prevent wrapping. Every channel layout can have at most one content area but this is not necessary for a correct layout. Any pages which use this kind of channel layout will not have their content displayed.

Channel layouts allow admins to specify the width of the content area box in which page content will be displayed. This however may not always match the page layout width. For example: If channel Layout width is 960px and the content area box in the layout is 3/4 layout (720px) the maximum size for page content is 720px. In this case it would make sense to design pages layouts designed to fit within 720px. In some cases themes may be designed to automatically respond to differences in content area and page content however this may produce unwanted side effects of wrapping, overlapping or stretching. Therefore it is recommended to design channel and page layouts to have the same content width to prevent issues.