Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

It provides a functionalities for site tour with model popup using javascript API.

This module support two ways to create 'Site Tour' popup.

1) Block Configuration
2) Render Element(API)

1) Block Configuration

  • This module also supports to create each tour items by adding new block from the "Site Tour" Block type.
  • Place the created custom block into content region and assign the block to page you want to display.
  • After installing this module, don't forget to enable the fields from Manage form display of "Site Tour" Block type and "Site Tour" Paragraphs type.

2) Render Element(API)

  • It provides a render element to generate a tour pop up from custom block.
  • This module require parameters to pass to the render element. Create a custom block plugin and pass the value in the below format as return value.
      $tour = [];
      $build['sitetour']['#data']['tour'] = [];
      $build['sitetour']['#type'] = 'sitetour';

      // First tour element

      $tour['id'] = 'sitetour';
      $tour['steps'][0]['target'] = '#slide-show'; // Dom element id
      $tour['steps'][0]['title'] = 'Slide show';
      $tour['steps'][0]['content'] = 'It includes five images. Please click the next button to view the next slide image.';
      $tour['steps'][0]['placement'] = 'bottom';
      $tour['steps'][0]['arrowOffset'] = 60;

       // Second tour element

      $tour['steps'][1]['target'] = '.search'; // Dom element class
      $tour['steps'][1]['title'] = 'Search Box';
      $tour['steps'][1]['content'] = 'Please enter the text in the search box and click enter button to search.';
      $tour['steps'][1]['placement'] = 'bottom';
      $tour['steps'][1]['arrowOffset'] = 60;
      $build['sitetour']['#data']['tour'] = $tour;
   

REQUIREMENTS

This module requires no modules outside of Drupal core.

INSTALLATION

* Install the Site tour module as you would normally install a
contributed Drupal module. Visit https://www.drupal.org/node/1897420
for further information.

CONFIGURATION

This module does not require any configuration.

You can find more information about this plugin in the below link,
- https://github.com/LinkedInAttic/hopscotch

MAINTAINERS

Current maintainers:
Elavarasan R - https://www.drupal.org/user/1902634

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Jul 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core Release date
3.0.0 Stable Jul 10, 2024