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  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

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
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Problem implementing ISearchable
Previous Previous
 
Next Next
New Post 8/2/2007 3:29 PM
User is offline Daniel Steinmann
27 posts
www.dsis.ch
10th Ranked


Problem implementing ISearchable 

Hi, I checked the documentation, checked the adefwebserver.com/DotNetNukeHELP/ISearchable/, I implemented the search in my module as described. But it's not working I don't know what I'm doing wrong :-(

If I update the module settings nothing is done, if I set the ISearchable code manual in the table modulesettings (2 or 3) it's not working. I can delete all records in searchtable and doing re-index, nothing. I don't get an error and cannot debug, as my code is ignored by DNN.

The ISearchable within my module is simply ignored by DNN, does somebody knows why?

Using DNN 3.3.7, her's an extraction of code:

Imports DotNetNuke.Services.Search

    Public Class eCardsController
        Implements Entities.Modules.ISearchable

#Region "Optional Interfaces"

        Public Function GetSearchItems(ByVal ModInfo As Entities.Modules.ModuleInfo) As Services.Search.SearchItemInfoCollection Implements Entities.Modules.ISearchable.GetSearchItems
            Dim SearchItemCollection As New SearchItemInfoCollection
            Dim objEcardsController As New dsis_eCardsController
            Dim Ecards As ArrayList = objEcardsController.GetAllEcardsByActiveAndModuleID(True, ModInfo.ModuleID)

            Dim objEcard As Object
            For Each objEcard In Ecards
                Dim SearchItem As SearchItemInfo
                With CType(objEcard, Ecards.dsis_eCardsInfo)
                    SearchItem = New SearchItemInfo(ModInfo.ModuleTitle & " - " & .Title, .Title, 0, .CreatedDate, ModInfo.ModuleID, .EcardID.ToString, "")
                    SearchItemCollection.Add(SearchItem)
                End With
            Next

            Return SearchItemCollection
        End Function

#End Region

Thank you for every advice :-)

Regards, Daniel

 
New Post 8/3/2007 1:11 AM
User is offline ErikVB
2825 posts
www.apollo-software.nl
5th Ranked










Re: Problem implementing ISearchable 

You might check whether the module has an enddate set (in Module Settings of the module). If that is the case, it will not be indexed by the search indexer


Erik van Ballegoij,
a view from my attic, my personal blog

DNN OpenForce 2008... Register Now!
 
New Post 8/3/2007 3:01 AM
User is offline Daniel Steinmann
27 posts
www.dsis.ch
10th Ranked


Re: Problem implementing ISearchable 

 ErikVB wrote

You might check whether the module has an enddate set (in Module Settings of the module). If that is the case, it will not be indexed by the search indexer

Hi Erik, thank you for the post.

No start- or enddate is set, means are NULL.

I checked all settings one more time, don't know what to do else ...

Regards, Daniel

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Problem implementing ISearchable
 


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.

 


Hosting for DotNetNuke
SiteGround.com is the best place to host your DotNetNuke website! Expert DotNetNuke support, reliable servers, low price!
www.SiteGround.com
Code Endeavors, LLC
Do you Endeavor to Enhance your DotNetNuke designs by utilizing AJAX technologies to more efficient interactive web experiences
www.codeendeavors.com
T-WORX, INC.
Professional DotNetNuke Solutions
www.t-worx.com

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