DotNetNuke Tips & Tricks

Wednesday, September 17, 2008 by Cuong Dang

Search Skin Object Enhancement in DotNetNuke 4.9

Filed under: Tips & Tricks

DotNetNuke 4.9 Search Enhancement

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:

XML for DotNetNuke Seacrh Skin Object in 4.9

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.

Comments

james
Thursday, November 5, 2009 10:45 PM
How come I am just running into this site, there are tons of great DotNetNuke articles on here. I absolutely HATE that the default search puts WEB & SITE as options. It seems crazy to lead potential customers to other websites so we usually disable that immediately. However, that is cool you can switch that to drop downs. Good work.

James - DotNetNuke and Drupal Consultant
blog comments powered by Disqus