[All Adaptavist Apps]

Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

{builder-sidebar} Macro

Description

This macro is used to force the collapse/display of the sidebars on a page-by-page basis.

Usage

{builder-sidebar:right|collapse=true} 

Note:
This macro should be used only once, usually inside a panel within the theme configuration screen.

Parameters

Property

Required

Default

Notes

default

(tick)

true

the sidebar to be affected (left/right)

collapse

(error)

false

should the sidebar be collapsed? (true/false)

force

(error)

false

override any cookie stored value for the state (true/false - default false)

Examples

Simply add the macro to the header panel in theme configuration to make the right or left sidebar appear or collapse by default:

{builder-sidebar:right|force=true}

CSS Customisation

N/A

Hints and Tips

None at present.

Frequently Asked Questions

None at present.

  • No labels