Changed the way search modules get integrated with the theme via a new region "search".
Improved current module for google search 2.0.
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
Google Custom Search Module 2.0.
|
||||
|
||||
https://developers.google.com/custom-search/docs/element
|
||||
The current solution is based on
|
||||
Results only <gcse:searchresults-only>
|
||||
# Based on Google Custom Search Engine (CSE)
|
||||
- https://developers.google.com/custom-search/docs/element
|
||||
- Search form provides a parameter `q` for the search query.
|
||||
- Results are displayed in associated page /gcse2 (using <gcse:searchresults-only> )
|
||||
|
||||
# Settings
|
||||
- edit the `site/modules/google_search_20/config/google_search_20.json` file, and set the value `gcse.search_engine_id`.
|
||||
|
||||
# How to get a Custom Search engine ID?
|
||||
- See https://support.google.com/customsearch/answer/2649143?hl=en
|
||||
- https://cse.google.com/all
|
||||
|
||||
Reference in New Issue
Block a user