Access Keys:
Skip to content (Access Key - 0)

use-layout macro

{use-layout} macro

Requires Theme Builder 3 or above

This macro allows you to automatically change the layout used for a specific page, optionally latching that layout for the rest of the user's session.

page under construction - see wiki notation guide (when editing a page using wiki markup mode) for more info

Parameter Mandatory Default Notes
default   The ID of the layout to use
latch false Whether to latch the layout for subsequent page views throughout the site:
  • false – only change the layout for this page
  • true – change the layout for all pages
{use-layout:LAYOUTID}

{use-layout:LAYOUTID|latch=true}

Hints and Tips

You can use this macro to create URLs for mobile phone users, etc., that will automatically select an appropriate layout when accessed.

Show me how...



Ask questions, get help and report bugs & issues on our Community Site

View old comments


Adaptavist Theme Builder Powered by Atlassian Confluence