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.aspxthanks
jh