4.5.2 New Search Web Option Disable
Last Post 03/31/2009 1:35 PM by Lee Sykes. 4 Replies.
Author Messages
Jason Harlow
Nuke Active Member
Nuke Active Member
Posts:33


--
06/02/2007 7:47 PM  
If you were like me, you were suprised to see your skin change when the 4.5.2 upgrade came out with a new "web" and "site" search option.

You can remove these options by putting the following code in your skin file for your search box.

<dnn:SEARCH runat="server" id="dnnSEARCH" CssClass="Skinobject" showweb="false" ShowSite="false" />

The Search SKO has 3 new attributes:

   Attribute Values Default Description
• ShowSite True, False True display/hide option "Site" to perform a search of the current site (DNN portal)
• ShowWeb True, False True display/hide option "Web" to perform a search of the WWW using the search site, as set up in Site Settings (Google, Yahoo, MSN)
• UseWebForSite True, False False use the WWW search Site, as set up in Site Settings,  to perform searches of the current site (DNN portal). Note: this uses the search index stored at the the search site; any non-public content will not be included!


I found this hidden on DNN site here: http://www.dotnetnuke.com/Community...fault.aspx

thanks
jh
Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945


--
06/05/2007 6:00 AM  
Thanks, that's useful,
Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile
JoeBommarito
Nuke Newbie
Nuke Newbie
Posts:1


--
03/29/2009 11:19 AM  
Will this remove the site/web search from the menu bar all together?
 I want to remove it all together. i need the space on the menu bar.
Joseph Craig
DNN MVP
Posts:11667


--
03/29/2009 11:21 AM  
IF you want to remove search completely, go and edit your skin file and remove the token/tag.

Joe Craig, Patapsco Research Group
Complete DNN Support
Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945


--
03/31/2009 1:35 PM  
Just to update this thread, we have a tutorial here:
How to style and skin the search box in DotNetNuke
Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile


---