hello,
I have a custom module that I am trying to make iSearchable. I followed the instructions listed here:
http://www.dotnetnuke.com/Resources/B...
but when I go to HOST-->Extensions-->MyModule--->settings the module setting checkbox iSearchable is false
The following is my code:
--------------------------------------------------------------------------------------------------------------------
Public Function GetSearchItems(ByVal ModInfo As Entities.Modules.ModuleInfo) As DotNetNuke.Services.Search.SearchItemInfoCollection Implements DotNetNuke.Entities.Modules.ISearchable.GetSearchItems
Dim SearchItemCollection As New SearchItemInfoCollection
Dim colNewss As List(Of NewsInfo) = News_GetAllNews(ModInfo.ModuleID)
Dim objNews As NewsInfo
For Each objNews In colNewss
Dim SearchItem As SearchItemInfo = New SearchItemInfo(ModInfo.ModuleTitle, objNews.Title, 0, objNews.CreatedDate, ModInfo.ModuleID, objNews.NewsId.ToString, objNews.ShortDescription)
SearchItemCollection.Add(SearchItem)
Next
Return SearchItemCollection
End Function
--------------------------------------------------------------------------------------------------------------------------------------
which is in NewsController.vb in a folder called Components within the root of my module folder.
I am not sure how to properly declare the Business Controller Class in the settings.
I have tried the following
DotNetNuke.Modules.MyModuleFolderName.SurveyController
DotNetNuke.DesktopModules.MyModuleFolderName.SurveyController
DotNetNuke.Modules.MyModuleFolderName.Components.SurveyController
any help would be greatly appreciated thanks
jordan king