Disable module from search result

Hi all do i can disable search result for posts module (in global searh result) Thanks.

  • 308
  • More
Replies (2)
    • Maybe we can comment some code or disable it on database? To hide some modules from global search results.

      Thx.

      • Hello @Rocco !

        It is the easiest variant to try. Backup the table `sys_objects_search` and then run there the following query:

        DELETE FROM `sys_objects_search` WHERE `ObjectName`='bx_posts' LIMIT 1;

        Then clear the cache in the Dashboard. If it will affect on other places then it will require to change the searchKeywordContent.php file.

        Login or Join to comment.