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  |  

$4.95 Windows Hosting at Webhost4life.com
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
 


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
58 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
58 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
58 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.

 


ZLDNN.COM
We provide commercial DotNetNuke modules.
www.zldnn.com
DNNhost Scandinavia
SUPER fast QuadCore DELL servers, MSSQL servers, DotNetPanel, daily backup, Check out our customers websites
DNNhost.dk
Personify Design, Inc.
Seattle-based Personify Design has developed customized DotNetNuke websites for a wide range of customers to meet many different types of needs, including distributed authorship across thousands of pages to integrated Verisign e-commerce capabilities.
www.personifydesign.com

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