Wednesday, September 17, 2008 by Cuong Dang
Search Skin Object Enhancement in DotNetNuke 4.9
Filed under: Tips & Tricks

If many of you are early adopters like me, you probably had your web sites upgraded to the latest version of DotNetNuke. In this version, there’s a minor change in the [SEARCH] token that hasn’t been documented anywhere. I thought I would share a new attribute just in case for non-developers can understand.
When designing your DotNetNuke web skin using HTML approach, if you wish to use the dropdown list, make sure to use this:

If you know a bit about ASCX skinning, you can embed this code within your search skin object to make it work:
UseDropDownList=”True”
When you want to disable the “Site” or “Web” search, either removing UseDropDownList or set it to “False” will allow the attributes “ShowWeb” and “ShowSite” to function properly.