Download the PHP package benmanu/silverstripe-userforms-faqsearchfield without Composer
On this page you can find all versions of the php package benmanu/silverstripe-userforms-faqsearchfield. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download benmanu/silverstripe-userforms-faqsearchfield
More information about benmanu/silverstripe-userforms-faqsearchfield
Files in benmanu/silverstripe-userforms-faqsearchfield
Package silverstripe-userforms-faqsearchfield
Short Description FAQ search field for SilverStripe userforms module
License BSD-3-Clause
Homepage http://github.com/benmanu/silverstripe-userforms-faqsearchfield
Informations about the package silverstripe-userforms-faqsearchfield
UserForms - SearchField
Overview
This is a custom https://github.com/silverstripe/silverstripe-userforms form field that can be added to provide a field that searches for FAQ articles that already exist within the website.
The use case for this field is where an enquiry form exists on the website for users to ask a question. It can be used to indicate that a similar question already has an FAQ article to answer it before they submit their enquiry.
Installation
This can be installed via:
composer require benmanu/silverstripe-userforms-faqsearchfield
Javascript Development
This module has https://github.com/JeffreyWay/laravel-mix as an npm dependency which makes it easy to do future javascript development for the module.
To get everything setup you just need to run:
yarn install
Once all the npm packages have been installed you can start javascript development using either:
yarn run dev
: which will start a watch task that rebundles the src files when files
in the javascript/src/
folder are updated.
yarn run prod
: which you will want to run when finished to produce a production ready
build of the javascript src files.
TODO:
- Add ajax loader icon to indicate request is being made on field blur
All versions of silverstripe-userforms-faqsearchfield with dependencies
silverstripe/framework Version ~3.1
silverstripe/faq Version 1.1.0
silverstripe/userforms Version 4.2.6 as 4.2.2