Formatting a Paint Layout

Last Updated: 17 Dec 2015

5-0-0_paint-layout-asset.png
The dependant assets

When you create a Paint Layout, a number of Bodycopy assets are automatically created beneath it, as shown in the figure to the right. These assets allow you to format the layout of the Paint Layout.

Bookmarks to the headings on this page:

  1. Page Contents Bodycopy
  2. Default Format Bodycopy

Page Contents Bodycopy

The Page Contents Bodycopy is used to define the overall layout of the Paint Layout. To change what information is being shown, right click on the Page Contents Bodycopy in the Asset Map and select Edit Contents. In the WYSIWYG Editor, enter the information you want to show on the page. By default, the keyword replacement Paint Layout will appear in the WYSIWYG Editor. This keyword replacement will show the layout that has been defined in the Type Formats.

Tip: If you do not include the keyword replacement Paint Layout on the Page Contents Bodycopy, the layout you have defined will not appear on the screen.

Default Format Bodycopy

The Default Format Bodycopy is used to define what information to display for the asset. This can be done through keyword replacements and metadata fields. For example, in the page shown in the figure below, the tile and published information is being shown. This has been defined in the Default Format Bodycopy.

An example of a Paint Layout on a Standard Page
A Paint Layout on a Site displaying the title, published date and publisher

To change what information is being shown, right click on the Default Formats Bodycopy in the Asset Map and select Edit Contents.In the WYSIWYG Editor, enter the information you want to show on the page. By default, the keyword replacement Asset Contents will appear in the WYSIWYG Editor.

Tip: If you do not include the keyword replacement Asset Contents on the Default Format Bodycopy, the content of the asset that you apply the Paint Layout to will not be shown on the page.

Keyword Replacements on the Default Format Bodycopy

A list of keyword replacements is provided in the WYSIWYG Editor toolbar on the Edit Contents screen of the Default Format Bodycopy. You can use these keyword replacements in conjunction with text, images, and links etc to layout what to show for the asset. For a full list of the standard keyword replacement, refer to the Common Keywords chapter in the Keyword Replacements manual. The additional keyword replacements that are available include the following:

  • Asset Lineage: this will show the path of where the asset exists in the system.
  • Asset Lineage Linked: this will show the path of where the asset exists in the system. Each asset in the path is hyperlinked.
  • Asset Contents: this will show the content of the asset that thePaint Layout has been applied to. Without this keyword replacement, the content of the asset will not be shown on the page.

Along with the standard list of keyword replacements you can also use the metadata keyword replacement to display a metadata field for an asset on the Default Format Bodycopy. For more information on this, refer to the Common Keywords chapter in the Keyword Replacements manual.


Next Chapter

The Latest

Let Us Know What You Think

Let us know if you spot any errors or if you have any ideas on how we can improve the Matrix Community Website.

Contact Squiz for Demo

Let us show you the true power of Squiz Matrix by giving you a personalised demonstration.