I made a custom User Panel which is similar to Wordpress Top Panel in
page.tpl.php so this panel will be shown for every logged-in users on the top of their page. But I want to hide that panel in
user-profile.tpl.php but, not sure is there any function like
is_profile() or something like that so I can check for a profile page and when the statement is
true then hide the custom User Panel on
Note that my d7 site has its custom user profile page.
Any idea? Thanks