/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php global $user; $uid = $user->uid; if ($uid > 0) { include_once drupal_get_path('module', 'user') . '/user.pages.inc'; print(drupal_get_form('user_profile_form', $user)); } else { // do something else } ?>
URL: http://drupal.org/node/368048