Hi, I want to trasform the output of my User Profile List Page.

this is the User_Profile_tpl code I use:

<?php
foreach ($fields as $category => $items) {
    foreach ($items as $item) {
        $newfields[] = $item;
    }
}?>

<dl class="title">
<dt class="profile-profile_name">Name</dt>
<dd class="profile-profile_name">
<?php print theme('profile_field_display', $newfields, 'profile-profile_name'); ?></dd>
</dl>

If I want to add some more User Profile Fields in the Page what code should i add ?

Thanks

Comments

advosuzi’s picture

first try searching:
http://drupal.org/search/node/custom+user+profile

this handbook page is dedicated to exactly what you need:
http://drupal.org/node/35728