Placing a Block with a Layout Update

Blocks can be placed in the left or right column of a specific page by making a layout update to
the XML code. With a few simple changes to the code, you can position the block in either
column, and control its position in relation to other blocks.
As you work with the underlying code, you will encounter slightly different terminology. For
example, the term callout1 is sometimes used to refer to a block that is defined as a layout
update with XML code. The term sidebar2 refers to the left or right columns of the page
layout. For our general discussion, we use the terms block and column. However, when
entering layout update code, make sure to follow the syntax exactly as shown in the example.

To place a block in a side column:

1. On the Admin menu, select CMS > Pages > Manage Content.
2. Click to open the CMS page. Then, in the panel on the left, select Design.
3. In the Layout Update XML box, enter the code for the right or left sidebar, as shown in
example. Then, do the following:
a. Change the reference name to identify either the “right” or “left” column.
b. Change the block_id to the identifier of the block to be placed.


Code for CMS Block in Side Column
4. When complete, click the Save Page button

Leave a Comment

Your email address will not be published. Required fields are marked *