Return to Snippet

Revision: 17957
at September 17, 2009 17:19 by dividespace


Initial Code
<?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
}
?>

Initial URL
http://drupal.org/node/368048

Initial Description

                                

Initial Title
How to print the user profile form anywhere? (D6) | drupal.org

Initial Tags
drupal

Initial Language
PHP