Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Select webpart - Deactivate "search in description" View modes: 
User avatar
Certified Developer v7
Certified  Developer v7
Nathoushka - 6/4/2012 2:06:29 PM
   
Select webpart - Deactivate "search in description"
Not a bug or anything like that but I was wondering if it was possible to make sure the "Search in description" is unchecked by default when selecting a webpart (Add new webpart).

I'm getting overwhelmed by webparts I don't need in my search results and I'd like to deactivate this. This mostly annoys me when I can't do an exact search (for example, if I need the "Repeater" webpart, I type "Repeater" and it'll return all repeater webparts + any webpart with the word "Repeater" in it... for about 50 results in 2 pages. I don't need that second part. I prefer my search results to be kept at minimum­.

Thanks.

Nathalie

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 6/5/2012 3:02:17 AM
   
RE:Select webpart - Deactivate "search in description"
Hello,


it is possible to set up the checkbox to unchecked by default in:

~\CMSModules\PortalEngine\Controls\WebParts\WebPartFlatSelector.ascx.cs

if (!URLHelper.IsPostback())
{
flatElem.SearchCheckBox.Checked = false;
}

(line about 169)

You can also remove web parts which you do not use (you can export them and import later if you need them in future).


Best regards,
Helena Grulichova

User avatar
Certified Developer v7
Certified  Developer v7
Nathoushka - 6/5/2012 9:05:43 AM
   
RE:Select webpart - Deactivate "search in description"
Thanks Helena!

Exactly what I needed. It's working.

Nathalie