Intelligent Search

Permalink
I have added the following to my Concrete site.php file...

define('ENABLE_INTELLIGENT_SEARCH_HELP', false);
define('ENABLE_INTELLIGENT_SEARCH_MARKETPLACE', false);

and for some reason when I login as an administrator I'm still seeing the Intelligent Search. I can even search for the sitemap and click on it. I've since changed view permissions on the dashboard pages so it shows me a "Page Forbidden" page but I'd like it so that my user can't see the Intelligent Search at all so I don't get questions about it down the road. Is this possible?

I also tried to go to my themes header file and add the following but it doesn't seem to work for me either.


<?php
   $u = new User(); //gets current user object
   $g = Group::getByName("Administrators"); 
      if($u->inGroup($g))
      { 
         #ccm-nav-intelligent-search-wrapper { display: none; }
      }
?>

bryanlewis
 
bryanlewis replied on at Permalink Best Answer Reply
bryanlewis
The IRC guys said "the intelligent search shows if you have access to anything cause it only allows you to search for things you have permission too".

Good to know! :)