I made a custom User Panel
User Panel which is similiarsimilar to Wordpress Top Panel
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 iI can check for a profile page and when the statement is true
then hide the custom User Panel
User Panel on user-profile.tpl.php
.
Note
Note that my d7 site has its custom user profile page.
Any
Any idea? Thanks