https://github.com/droath/markjs_search
Drupal MarkJS search implementation.
https://github.com/droath/markjs_search
Last synced: 10 months ago
JSON representation
Drupal MarkJS search implementation.
- Host: GitHub
- URL: https://github.com/droath/markjs_search
- Owner: droath
- Created: 2019-02-17T16:51:10.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-17T17:02:14.000Z (over 7 years ago)
- Last Synced: 2025-02-26T17:48:39.777Z (over 1 year ago)
- Language: PHP
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## INTRODUCTION
The MarkJS search module allows a site administer to create a block that exposes a way for the site user to search for keywords within the page context. Similar to how the Find (Ctr+F) feature works in the browser.
## INSTALLATION
* Install as usual, see
https://www.drupal.org/docs/8/extending-drupal-8/installing-contributed-modules-find-import-enable-configure-drupal-8 for further
information.
* Navigate to `/admin/config/search/markjs-search`.
* Create a MarkJS profile with your desired configurations.
* Navigate to `/admin/structure/block`.
* Place a `MarkJS Search` block in any layout region. Configure the block to use the MarkJS profile that you've created in the previous step. Input a search context selector, which allows you to narrow down the scope on what is searched.
## DEVELOPERS
Check out the [MarkJS](https://markjs.io/) documentation for instructions/examples on the available API.