×

You're using an outdated browser

For a better experience, keep your browser up to date. Check here for the latest version.

Manual

How to use the conditional content macro

Roman Serazhiev

Roman Serazhiev Last update: Aug 3, 2018

You can define sections of content within a page to be available in specific variants. This is called conditional content, and is accomplished through the conditional content macro that ships with Scroll Versions.

Insert the conditional content macro in your page, define the attribute values, and enter your conditional content. You can edit the attribute values as conditions by double-clicking the macro's header.

Insert conditional content macro inline

  1. Update to Scroll Versions 3.7.6 or later
  2. Type the content that would "wrap" the text inside conditional content as a single paragraph of text first. Then insert the macro and a conditional text. For example, to have a phrase Hello, there, friend as one line (with word there being inside the macro):
    1. type Hello, friend
    2. place cursor right before friend and insert conditional content macro using Insert > conditional content
    3. type there inside conditional content
    4. add a white space and a comma before friend
  3. Save the page


Info

By default, conditional content is highlighted for all Authors. If you mouse-over the conditional content, its available variant(s) is displayed. If you do not want to highlight conditional content, you can disable the setting in the Scroll Settings available when clicking your avatar in the top-right corner.

2xlatest
We use cookies to create a secure and effective browsing experience for our website visitors and to understand how you use our site (i.e. Google Analytics). For more information: click here.
Ok