Skip to main content
edited tags
Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284
Tweeted twitter.com/#!/StackDrupal/status/372648649911992320
improved formatting
Source Link
Mołot
  • 21.9k
  • 8
  • 59
  • 112

I made a custom User PanelUser Panel which is similiarsimilar to Wordpress Top PanelWordpress 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 PanelUser Panel on user-profile.tpl.php.
Note

Note that my d7 site has its custom user profile page.
Any

Any idea? Thanks

I made a custom User Panel which is similiar 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 user-profile.tpl.php.
Note that my d7 site has its custom user profile page.
Any idea? Thanks

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 user-profile.tpl.php.

Note that my d7 site has its custom user profile page.

Any idea? Thanks

added 222 characters in body
Source Link
rakibtg
  • 1.3k
  • 3
  • 18
  • 41

I want to hidemade a custom block fromUser Panel which is similiar 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 blockcustom User Panel on user-profile.tpl.php.
Note that my d7 site has its custom user profile page.
Any idea? Thanks

I want to hide a custom block from page.tpl.php 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 block on user-profile.tpl.php.
Any idea? Thanks

I made a custom User Panel which is similiar 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 user-profile.tpl.php.
Note that my d7 site has its custom user profile page.
Any idea? Thanks

Rollback to Revision 1
Source Link
Mołot
  • 21.9k
  • 8
  • 59
  • 112
Loading
added 68 characters in body
Source Link
rakibtg
  • 1.3k
  • 3
  • 18
  • 41
Loading
Source Link
rakibtg
  • 1.3k
  • 3
  • 18
  • 41
Loading