Hi guys!
I'm new to PHP and I'm using Drupal and there's a function that one block will be called if PHP scripts returns value TRUE.
Now I want my "Search" to only show at ALL THE other pages but not index.
With the code:
if (Url::exists('http://www.example.com'))
I get my Search function to return TRUE so it will be showed on index page only, but not on any other pages!! So I kinda need this on reverse - how do I get a TRUE value for something that excists? In this case it would be www.example.com, or if anyone else has any other ideas I would be very thankful!