silverware/search

SilverWare Search Module.

Installs: 173

Dependents: 0

Suggesters: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:silverstripe-vendormodule

1.3.0 2018-06-12 11:36 UTC

README

Latest Stable Version Latest Unstable Version License

Provides a search results page and navigation bar search item for use with SilverWare.

Contents

Requirements

Installation

Installation is via Composer:

$ composer require silverware/search

Configuration

As with all SilverStripe modules, configuration is via YAML. Frontend requirements for ContentController are applied via config.yml. Style mappings for Bootstrap are configured in the styles.yml configuration file.

Usage

This module provides a SearchResultsPage which will be created automatically upon build. This page is a dedicated page for showing search results generated by SilverStripe's built-in fulltext search.

A component named SearchComponent will be made available in the CMS after installation. This component presents a search field allowing the user to search the site, and is ideal for inclusion in the app's header or navigation bar.

Also provided is a SearchItem object which can be added as a child of the BarNavigation component provided by the SilverWare Navigation module. This item adds a search icon to your navbar which shows a search form popover upon click.

On small screen devices, the icon and popover are hidden, and instead the search form is added directly into the collapsible navigation area.

Issues

Please use the GitHub issue tracker for bug reports and feature requests.

Contribution

Your contributions are gladly welcomed to help make this project better. Please see contributing for more information.

Maintainers

Colin Tucker Praxis Interactive
Colin Tucker Praxis Interactive

License

BSD-3-Clause © Praxis Interactive