Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AspDotNetStoreFront
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Customer module search not working
Previous Previous
 
Next Next
New Post 11/30/2007 8:47 AM
User is offline Rahim ali
55 posts
www.technologyfootprints.com
10th Ranked


Customer module search not working 

Hi Guys,

I have developed a Custom module in DNN 3.3.7.To make my module searchable, I have implemented the Isearchable interface. But my search is not working. My code is as follow

 Controller Class Code

        Public Function GetSearchItems(ByVal ModInfo As Entities.Modules.ModuleInfo) As Services.Search.SearchItemInfoCollection Implements Entities.Modules.ISearchable.GetSearchItems

            Dim colProducts As ArrayList = ListProducts(ModInfo.PortalID, ModInfo.ModuleID)

 

            Dim searchItems As Services.Search.SearchItemInfoCollection

 

            Dim productInfo As TFPProductInfo

 

            For Each productInfo In colProducts

                Dim searchItem As Services.Search.SearchItemInfo

 

                searchItem = New Services.Search.SearchItemInfo(ModInfo.ModuleTitle & "-" & productInfo.Prd_Name, "Category: " & productInfo.Cat_Name & ", " & productInfo.Prd_Descirption, 2, productInfo.Prd_DateAdd, productInfo.ModuleID, productInfo.PortalID.ToString, productInfo.Prd_Descirption)

 

                searchItems.Add(searchItem)

            Next

 

            Return searchItems

 

        End Function

ASCX Code

        Public Function GetSearchItems(ByVal ModInfo As Entities.Modules.ModuleInfo) As Services.Search.SearchItemInfoCollection Implements Entities.Modules.ISearchable.GetSearchItems

            ' included as a stub only so that the core knows this module Implements Entities.Modules.ISearchable

        End Function

 

I also done some manually entries in database table “DesktopModules” against my module definition. Which are as follow

SupportedFeatures=”3”

BusinessController=”Technologyfootprints.DNN.Modules.TFPProduct.Business.TFPProductController,Technologyfootprints.DNN.Modules.TFPProduct.Business”

 

I have search a lot on internet regarding my problem but could not resolve. Please help me out in resolving this problem.

Thank in advance

Waiting your response

 
New Post 12/12/2007 8:16 PM
User is offline mark
3 posts
10th Ranked


Re: Customer module search not working 

Hello Ali,

I have a pretty much identical problem, and was hoping you could answer a couple of questions.

1.  have you figured out how to get it working?

2.  Can the iSearchable interface be implemented in the "View" control for the module, or must the BusinessController class be a seperate class in its own right?

3.  Is it possible to define the BusinessController class in a dnn manifest file, and if so what is the element name and syntax?

hoping you have the silver bullet.

Mark.

 

 

 
New Post 12/12/2007 9:43 PM
User is offline Rahim ali
55 posts
www.technologyfootprints.com
10th Ranked


Re: Customer module search not working 

mark,

I have added my comments in Bold

1.  have you figured out how to get it working?

I have read the following article to implement search in my custom module but it stil not working

http://www.innovatasites.com/ecktwo/Tutorials/BuildingModulesWithISearchable/tabid/1391/Default.aspx?PageContentMode=1

2.  Can the iSearchable interface be implemented in the "View" control for the module, or must the BusinessController class be a seperate class in its own right?

In view control we add only stubs but it is implemented in Business Controller class Please follow the above article

3.  Is it possible to define the BusinessController class in a dnn manifest file, and if so what is the element name and syntax?

I have not idea about that

 
New Post 12/12/2007 10:25 PM
User is offline mark
3 posts
10th Ranked


Re: Customer module search not working 

Hello Ali,

I followed the same link to get the basic changes completed.

I then followed your idea about making changes to the DesktopModules table directly to get the module to believe it was capable of searching.

However if I put a breakpoint in the controller class it never seems to run.

I also hit the "re-Index Content" link on the search Admin page, which still failed to execute the controller class code.

Did you your controller class ever execute?

Mark.

 

 
New Post 12/15/2007 5:20 AM
User is offline Rahim ali
55 posts
www.technologyfootprints.com
10th Ranked


Re: Customer module search not working 

Mark,

I have also try to debug my code by putting break point to my controller class function "GetSearchItems ".But the debuger don,t come in the function. I am also waiting some body else could answer this post and our common problem could be solved.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Customer module search not working
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Windsor Management Group
Fund Accounting Software for K12 Education.
Infinitevisions.com
Convert Visitors to Customers
In order to bring value to your users, we must first understand them. VIVIDSITES will help you build a custom web application and interactive marketing tools that your users will thank you for. We marry high-end creative with head banging technology to entertain and convert visitors into paying customers. Call 314.514.0505 or visit us at http://www.vividsites.com to find out how.
- V I V I D S I T E S -
Gearworx Web Hosting
As a premier provider of Web Hosting, Private/White Label hosting, Server Colocation, Dedicated Server, and other Managed Services, Gearworx offers an array of services designed to more effectively manage strategies driving businesses on the Web. Headquartered in Fremont, California our state of the art tier one data centers and distributed managed services environment enables Gearworx to offer your business enterprise level solutions through simplified processes.
Gearworx Web Hosting

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP