webfox / silverstripe-blog-search
A Silverstripe extension to add Blog Search functionality
Installs: 7 955
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 5
Forks: 4
Open Issues: 1
Type:silverstripe-vendormodule
Requires
- silverstripe/blog: ^3.1@dev
- silverstripe/recipe-cms: ^1.0 || ^4.0
- silverstripe/vendor-plugin: ^1.0
This package is auto-updated.
Last update: 2022-10-14 02:53:01 UTC
README
The extension adds a form to your Blog and BlogPost pages to search the blog based on category or a search term.
Just use $BlogSearchForm
in Blog.ss
and BlogPost.ss
.
Installation Instructions
Composer
Run the following to add this module as a requirement and install it via composer.
composer require "webfox/silverstripe-blog-search"
The blog search form extension get applied automatically, and the form will have both a keyword and category search. However you can disable either component as below:
WebFox\BlogSearch\Form\BlogSearchForm: keyword: false category: false
then browse to /dev/build?flush=all
Requirements
- Silverstripe 4.0+
For Silverstripe 3.0+ support please see the v1.0 branch.