Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN and Google CSEDNN and Google CSE
Previous
 
Next
New Post
1/23/2009 12:15 AM
 

Hi  Terry, Everyone.  Sorry about the lag in response time.

Terry's method did work for me, with a couple of caveats.

  • In Terry's point 2b he shows renaming Search.ascx.resx  -> GoogleSearch.ascx.resx.  This file did not exist in the /admin/skins directory for me, but only in the /admin/skins/App_LocalResources
  • If you have multiple portals, you can create and reference a different search engine for each portal by editing the skin file in /Portals/#/Skins/ that you are currently using.  As always, make a backup first!
  • Terry's point 4b shows the following string segment:  ""...?cx=<YOUR CSE ID>%3A72pzbzmchja&cof..."  The %3A is HTML encoding for a colon, and all the characters after the A are a unique code that is part of the CSE ID.  If you're copying and pasting this code, remember to delete everything between "<YOUR CSE ID>" and "&cof".  When you past your CSE ID in, it should look like "[partner-]pub-blahrandomblah[:foobar]".  I *think* the :foobar section only appears in CSE ID's that include the partner- prefix, but I'm not sure about this.  It may relate to AdSense tracking as well.  Anyway, if you've got the :foobar in your CSE ID, replace the colon with %3A

The portal/skin I'm working with now precludes too much screwing around with the layout of the thing, but there are several variables you can invoke throughout the process, for instance using radio buttons to select whether a search is local-only or web-wide, as is often the case with the default search behavior.  If you want to use the above string to search only your domain, you can do this quickly by adding &domain=yourdomain.com to the search string before the "&q=".  There are tons of other options, including site result weighting through the CSE configuration, that I haven't had time to touch yet.

Thanks for getting me pointed in the right direction :)

 
New Post
5/8/2009 4:57 AM
 

 I wanted to follow up on this because I've learned a bit about it.  Starting with Terry's method, I *believe* I've got an article written that covers the whole process.

Note:  as far as I can tell, it's not necessary in my process to create the /admin/skins/App_LocalResources file.  Feel free to me know through the forum or contact page at the linked site if you run into issues.

http://www.lowgenius.com/HowGenius/DotNetNuke/DNNandAdSense/DNNandAdSenseforSearch.aspx

 
New Post
5/8/2009 10:24 AM
 

LowGenius wrote
I wanted to follow up on this because I've learned a bit about it.  Starting with Terry's method, I *believe* I've got an article written that covers the whole process.

Note:  as far as I can tell, it's not necessary in my process to create the /admin/skins/App_LocalResources file.  Feel free to me know through the forum or contact page at the linked site if you run into issues.

http://www.lowgenius.com/HowGenius/DotNetNuke/DNNandAdSense/DNNandAdSenseforSearch.aspx

Nice!  "Kudos" for following up on the topic and documenting your process as well as updating this thread -- results like these really raise the value of the forums.  I've only skimmed through the article but it appears to be a thorough walkthrough of the process you used.  Thanks for sharing that!
 
-mamlin


esmamlin atxgeek.me
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN and Google CSEDNN and Google CSE


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out