SUMMARY

On page search module provide functionality to search on single page. It is replacement of CTRL+F of browser.

If you are using infinity views load more , then it may possible that user may have very large page. Then if user want to search on this long page , then you may required this module because drupal default search provide functionality to search contents.

You can highlight the certain keyword that you are interested in for easy spot. You just have to type the search phrase in textbox.

INSTALLATION

Install as usual, see http://drupal.org/node/895232 for further information.

CONFIGURATION

Configure user permissions in Administration » People » Permissions:
on page search

Users in roles with the "on page search" permission will see the admin settings of ops module.

This Module create a block of search textbox ,assign that block in your desired region for enabling the search and highlight functionality to your site.

CUSTOMIZATION

Drupal7
Access menu from here : admin/config/search/on-page-search-setting
Drupal8
Access menu from here : /admin/config/search/ops/settings
Setting
From setting page you can do setting for background/Text color of the searched text and Text for placeholder on search textfield.

It takes valid hex color value of 6 digit.

  • If you want to override css style of search text , then create style of
    highlight class.
  • You can also create your own TextBox for search with below code
    <input type="textbox" placeholder="Search Here"  class="form-control ops-text-search" id="ops-text-search">
    

    Note*: Please don't change Id.

  • CONTACT

    Rajveer singh https://www.drupal.org/u/rajveergang
    email : rajveer.gang@gmail.com

Supporting organizations: 

Project information

Releases