Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In order to increase awareness and improve campaign success Notification modal custom widget was introduced.

...

To add a widget first create a static block with Content Constructor CMS content:
As admin user navigate to Content -> Blocks and create a new block with 'Add New Block' on the upper right corner.

Your new block requires a ‘Block Title’ and a ‘Identifier’ f.e:

...

Scroll further down to ‘Content Constructor’ section and add an ‘Image Teaser’ component.

To the left upload or select your desired image and to the right add your content, f.e:

...

Please select the required settings marked with a *

...

After clicking on the Continue button add further settings. Choose Notification modal Container as a container.

Please select the required settings marked with a *

...

Open the Widget options tab and set the desired configuration:

...

Name

Possible values

Comment

Content mode

CMS Block / Image

Image is not supported yet! Please use CMS Block only.

Select Block...

Select static block to display modal content

Show modal after X second

Number (in seconds)

Leave empty modal should not be triggered automatically

Trigger selectors

String, f.e. .cs-product-tile, .cs-header

Add selectors separated by commas. Leave empty if theer are not trigger elements.

Reopen policy

  • Never

  • On new session

  • A few days (type below)

  • Always

  • Always - absolute

Choose when notification modal should be opened again.

Always - absolute: use with caution. The modal will run every time regardless of the number of previous runs.

Cookie expiration

number

Filed is available when Reopen policy is set to A few days (type below)

Modal type

  • Popup 

  • Slide 

  • Mobile slide / desktop popup (default)

Modal title

Leave empty in order to hide modal header

Hide padding space inside modal 

No/Yes 

Position modal 

  • Default

  • Top-left

  • Top-center

  • Top-right

  • Center-left

  • Center-center 

  • Center-right 

  • Bottom-left 

  • Bottom-center 

  • Bottom-right

This setting will work only with popup modal type.

Can be left empty if default modal position should be used.

Aspect ratio

Set modal aspect ratio, f.e.: 2/3. Can be left empty. This setting will not be added to slide modal type.

Display widget only for 

  • All users 

  • Logged-in 

  • Guest 

Date from

date (please use browsers calendar)

Date from which the modal will be visible

Date to

date (please use browsers calendar)

Date until which the modal will be visible

...