This module integrates the Custom Search Engines you have already configured through your Google Account with your Drupal website.
You will have to provide you Search Engine's unique ID. To find it, go to your CSE manage page. Click on your already configured Search Engine or Create a New One. Under the Details Section, click the button Search Engine ID.
Ref: https://cse.google.com/cse/manage/all
You can optionally provide the Page Title for the Search Results Page. You can also provide a wildcard URL component that will be used to build you Search Results Page URL. The default value will be google. It is recommended to uninstall other Search modules when you are using this. However this works even with them enabled. Kindly contact the maintainer if you find that it doesn't work.
Once you have installed and configured the module, make sure that you set the permissions to access and administer the settings and results. This modules provides a custom block that should be placed where you want the Search Form to be displayed.
Project Link: https://www.drupal.org/sandbox/immanuelpaul/2724029
Git Clone: git clone --branch 8.x-1.x https://git.drupal.org/sandbox/immanuel.paul/2724029.git gcs
Kindly review the module and post your concerns and suggestions.
Comments
Comment #2
immanuel.paul commentedComment #3
pravin ajaaz commentedComment #4
pravin ajaaz commentedComment #5
immanuel.paul commentedComment #6
PA robot commentedFixed the git clone URL in the issue summary for non-maintainer users.
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #7
immanuel.paul commentedComment #8
visabhishek commentedHi immanuel.paul,
Please recheck some points with standards :
1: Do not use tab in gcs.html.twig
2: Follow the Readme template for the README.txt https://www.drupal.org/node/2181737
Comment #9
immanuel.paul commentedHi Abhishek,
I have updated the code as per your suggestions. Thanks for reviewing the project.
Thanks
Immanuel Paul
Comment #10
immanuel.paul commentedComment #11
immanuel.paul commentedComment #12
naveenvalecha@immanuel.paul,
Collaborate with the google_cse module author and push the d8 code into the existing module and apply for the review here.
We always encourage collaboration over competition.
small overview of code :
hidden: false?Comment #13
immanuel.paul commented@Naveen Valecha,
Thanks for your valuable time. Will implement your recommendations and update the thread.
Unlike the google_cse module which integrates with the drupal core search, this module is a much simpler and lightweight version.
However I have updated the google_cse issue queue and provided the git url there.
Ref: https://www.drupal.org/node/2387189#comment-11246483
Thanks
Immanuel Paul
Comment #14
alexmoreno commentedany reason of not merging efforts with the current Google CSE module, and the current issue to port it to D8?
https://www.drupal.org/node/2387189
Comment #15
immanuel.paul commented@Alex
I would say this module is a miniature version of the Google CSE and is designed for applications that only needs the basic features of GCS.
I built this module for one of the projects in my organization and thought of giving it to the community for users who may need a lightweight version.
Thanks
Immanuel Paul
Comment #16
alexmoreno commentedHi @immanuel,
thanks for your answer.
I understand, but given that D8 codebase version is just starting, this should be a patch/contribution to the main module, instead of adding duplication creating a module that does the same thing (lighter or not).
In other words, I think this not meet the point 1.2 of the PA checklist: https://www.drupal.org/node/1587704
1.2 Ensure your project is not a duplication.
why not joining forces ;-) ? I don't see any reason why you could not be promoted to contributor and help there, although I'm not sure how to do it outside of the normal project application workflow.
Comment #17
andypostThat's exactly a duplication (actually 3x) of efforts
Comment #18
avpaderno