More than One CSE on a site?
diannone - May 28, 2007 - 02:29
| Project: | Google Custom Search Engine |
| Version: | 5.x-1.2 |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
How can I have more than one CSE installed on the site Drupal site? I have one Google CSE for my site, and have another for an industry search function that goes beyond the site....Ideally I'd like them to run separately ...Suggestions?

#1
The module doesn't yet support multiple CSEs, but I'd love to review and commit a patch providing this functionality, if anyone has time to work on it.
#2
Unfortunatly, I'm not good enought with PHP to offer my service for this. However, I would like to express my own interest for surch a feater un D6.
#3
This is extremely desirable; subscribing.
#4
I could definitely use this. Subscribing.
#5
+1
#6
Cracking module! Multiple CSE's would be the icing on the cake (version 6)
#7
Subscribing. I have built multiple CSE forms for non-Drupal websites. I haven't worked on a module for Drupal as of yet. I am going to open up the inner workings of this module to see how it works.
We need to have a way to swap out CX numbers.
brainstorm:
1. Text area to input CX numbers in the admin section.
2. Radio buttons or select list to auto create under the CSE search box based off of the inputs in the admin section.
#8
I also need this for 6.x. Subscribing.
#9
subscribing
#10
Subscribing (5.x)
#11
Ditto - I could also use multiple CSEs.
#12
I really needed support for multiple Google custom search engines on my site so I created my own version of this module. I'm attaching my module in case anyone else might be able to use it.
It creates a new content type, multi_google_cse. Users can create multiple instances of this type.
The node view displays the search form and results.
The administrative settings remain largely the same, but the following values have been shifted into the node metadata:
Search Engine ID
Search Results Prefix Text
Search Results Suffix Text
Note that Search Results Page Title is replaced by the node Title.
The following functionality is NOT supported in this implementation:
* Blocks
* SiteSearch
* Search module integration
BACK UP YOUR DATABASE BEFORE INSTALLING THIS MODULE.
*** REALLY ***
This is my first attempt a implementing a module, 'nough said.
I have tried to keep the namespace separate from the original module, prepending all internal data with "multi-". I've tested both this and the original module together and they seem to "play nice".
Many, many thanks to Mark. B. for providing the original module.
-- Kari
#13
Sorry. I just realized this was a Drupal 5 thread. The module attached was written for Drupal 6.