Reputation: 930
Prompt as in page.tpl.php derive a field value from the current user profile module. Field is called profile_first_name
Upvotes: 1
Views: 217
Reputation: 5211
If you want to access profile field values from page.tpl.php
you could use profile_load_profile().
For example in your page.tpl.php
add the following:
GLOBAL $user;
profile_load_profile($user);
Then to access the field you want (profile_first_name) you would use $user->profile_first_name
Upvotes: 2