dnnGallery Blog

Current Articles | Categories | Search | Syndication

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 05, 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

Name (required)

Email (required)

Website

CAPTCHA image
Enter the code shown above in the box below

dnnGallery Search


Share dnnGallery

Like the new community? Share dnnGallery with others.