DotNetNuke = Cheeky Monkeys

Version 4.5.2 of DotNetNuke was released on May 29, 2007. Since I’m still heavily developing the site redesign for work in DotNetNuke, I downloaded the upgrade and installed it. It was a simple enough upgrade and worked flawlessly (as far as I can tell).

One thing did bug me. The SEARCH feature added two radio buttons next to the text area for the search, allowing users to search the site or the web. The web search uses Google (of course) and it even comes pre-filled with the DotNetNuke Google AdSense Client ID. This “feature” wasn’t in any of the preview releases, so it’s definitely like they tried to sneak that one in.

To disable the web/site search feature, you have to edit your skin file (it really should be an admin configurable feature). Just add the following, bold code to your search call:

< dnn:SEARCH runat="server" id="dnnSEARCH" showWeb=”False” showSite=”False” />

If you want to use your own Google ID, just locate the file at: admin/skins/App_LocalResources/Search.ascx.resx and change the client=pub-9770992166002654 to your own Google AdSense ID.

Leave a Reply

Your email address will not be published. Required fields are marked *