D8 - Show popup on click event - SPB tutorial

1. Install Simple popup blocks Drupal 8 module.

2. Go to admin > media > config > Add simple popup blocks

3. Choose the identifier, i.e, Drupal blocks or custom css selector and choose/provide correct values.

4. Choose the popup position.

5. Give visit counts, so the popup will trigger on particular page visits only.

D8 - Show popup on page load - SPB tutorial

1. Install Simple popup blocks drupal 8 module.

2. Go to admin > media > config > Add simple popup blocks

3. Choose the identifier, i.e, Drupal blocks or custom css selector and choose/give correct values.

4. Choose the popup position

5. Give visit counts, so the popup will trigger on particular page visits only.

Simple Popup Blocks

Just an alternative to colorbox & modal popup based on your requirement. It will trigger on browser/tab close, automatic & manual clicks.

Turn any Drupal blocks, views results, forms or any content on your website page as a popup.

Once you rendered the content on the page, you can specify:

  1. How to identify the content to convert to popup; and
  2. How to trigger showing the popup.

This popup will trigger on following 3 ways

  1. Automatic -  With the optional delay
  2. Manual - On click event
  3. Before browser/tab close

Module Link: Click here

Subscribe with RSS Subscribe to RSS - modal