Search Results with GSE

xF2 Add-on Search Results with GSE 1.0.2

No permission to download
Compatible XF Versions
2.0
Visible Branding
No
Additional Requirements
Google Search Engine Code
This add-on, works with Google CSE and shows to search results with use "Google Search Engine" and Default.

Before the installation

1. Go to Google CSE : https://cse.google.com/cse/create/new and add your website.

2. Choose full width option, when you create to the search code on Google CSE website. (Layout tab)
search-results-with-gse.png

After the second step get your code it looks like,
HTML:
<script>
  (function() {
    var cx = '[COLOR=rgb(226, 80, 65)]xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx[/COLOR]';
    var gcse = document.createElement('script');
    gcse.type = 'text/javascript';
    gcse.async = true;
    gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(gcse, s);
  })();
</script>
<gcse:search></gcse:search>
We just need, "var cx ID" (xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) and now install add-on
Enter your Google Search Engine ID : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thats all...

Options,
search-results-with-gse-1.png

Google Search Results Tab
search-results-with-gse-2.png

Community Search Results Tab (Default Search)
search-results-with-gse-3.png
Author
ENXF NET
Downloads
11
Views
1,279
Last update
Rating
0.00 star(s) 0 ratings

More resources from ENXF NET

Top