Drupal: Loading custom userprofile data
- October 15th, 2007
- Posted in Drupal . PHP . Technology
- Write comment
I have found that the core Drupal profile module provides very limited customization possibilities. However, the Usernode and Nodeprofile modules help out immensely with this.
If you want access to custom user profile fields, such as CCK fields, you simply load the profile:
PHP:
-
<?php
-
$usernode = nodeprofile_load('uprofile', $node->uid);
-
?>
















No comments yet.