How can i load the user page (profile) in a block or in the body of a another page?
I tried to put a block in the user page but does not work. Any ideas?

  • the user PAGE with all its associated blocks, headers, regions, markup, etc, or the user page profile NODE? – Jimajamma Apr 18 '12 at 18:05
  • just the information of the user profile – abd Apr 18 '12 at 18:52

You can print the user profile using:

<?php print render($user_profile); ?>.

You can get specific user information by

<?php print render($user_profile['user_picture']); ?>

<?php print render($user_profile['summary']); ?>

Hope this helps.

| improve this answer | |
  • This will only work at the theme level. I'm not sure it's what the OP asks for. – Countzero Apr 19 '12 at 5:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.