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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsDocumentsDocumentsHow to hide certain documents based on category of documents in DNN SearchHow to hide certain documents based on category of documents in DNN Search
Previous
 
Next
New Post
1/16/2012 4:03 PM
 

Hi

I am using Document (5.0) module and DNN (6.01.00)

I want to hide some documents based on category to appear in DNN search.

I tried to change some business logic in ( Public Function GetSearchItems) in DocumentController.vb but could not able to make any changes to results of search. Please advise me how to avoid indexing certain documents based on category.

Thanks in advance.

Mian

 
New Post
1/16/2012 8:51 PM
Accepted Answer 

That would be the correct (and really only) approach. Assuming that your code changes are correct and that you have recompiled the module and replaced the DotNetNuke.Modules.Documents.dll assembly in the site's /bin folder with your new version, note that you will need to

  1. Clear the various search tables in the Database to remove previously indexed content that you no longer want to include.
  2. Check the Documents module registration in Host --> Extensions to be certain that the Business Controller Class is correct for your revised controller if you made any changes in the module's namespace AND that the Searchable feature is still checked. If it is not checked, try updating the module definition in Host -->Extensions and re-verify that Searchable is now checked.
  3. Make sure that the Search Engine Scheduler job has run (you can force it to run now in Host-->Schedule control panel) since you revised your code.

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
1/22/2012 6:58 PM
 
Thanks
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsDocumentsDocumentsHow to hide certain documents based on category of documents in DNN SearchHow to hide certain documents based on category of documents in DNN Search


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