Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Search facility does nothing!Search facility does nothing!
Previous
 
Next
New Post
9/2/2008 6:24 PM
 

Hi,

The search facility on our website is not doing anything (Nothing happens when pressing the OK button). Tried reindexing but all in vain. One funny thing is that we only have the "search input module" defined and the "search results" is missing....Tried to download the search results module but cannot trace it. If this is required can you please guide accordingly?

Any other pointers please?

Thanks

Alex Grima

 

 
New Post
9/8/2008 5:25 AM
 

the core search feature needs a search results module installed on a page named search results. Apparently someone removed that page and the module from your installation.... not a very easy thing to put it back as it is a core module that does not have an inst

you can put the files back from a dnn install zip of the same version. Look for the folder /admin/search

Next you need to reregister the module, which can be done by running the following scriptsfrom host>sql (please check "Run As Script"):

-- start script

DECLARE @DesktopModuleID INT
DECLARE @ModuleDefID INT
DECLARE @ModuleName NVARCHAR(50)
SELECT @ModuleName = 'Search Results'
INSERT INTO {databaseOwner}[{objectQualifier}DesktopModules]([FriendlyName],[Description] ,[Version] ,[IsPremium] ,[IsAdmin] ,[FolderName],[ModuleName],[SupportedFeatures] ) VALUES (@ModuleName,'The Search Reasults module provides the ability to display search results.' ,'01.00.00' ,0,0 ,@ModuleName ,@ModuleName ,0 )
SELECT @DesktopModuleID = SCOPE_IDENTITY()
INSERT INTO {databaseOwner}[{objectQualifier}ModuleDefinitions]([FriendlyName],[DesktopModuleID],[DefaultCacheTime]) VALUES (@ModuleName,@DesktopModuleID,-1)
SELECT @ModuleDefID = SCOPE_IDENTITY()
INSERT INTO {databaseOwner}[{objectQualifier}ModuleControls] ([ModuleDefID] ,[ControlSrc] ,[ControlType] ,[ViewOrder] ,[SupportsPartialRendering]) VALUES (@ModuleDefID ,'Admin/Search/SearchResults.ascx' ,-1 ,0 ,0)

-- end script

the search module is now available in your portal. All you need to do is to create a page that will contain the Search Results module. this page does not have to appear in your menu, but it must be an active page, and accessible for nonauthenticated users

 


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
9/10/2008 4:53 PM
 

Hi Erik,

Thank you very much mate - It did the trick.

The files were present but the database did not have the entry for this module. Running the script solved everything! After a reindex, all is working perfectly.

Thanks again.

 

Alex Grima

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Search facility does nothing!Search facility does nothing!


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out