Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Anonymous (not verified) on
Hi,
i modified my profile "user list" with placing the following function to template.phö
function phptemplate_profile_listing($user, $fields = array()) {
/**
* This snippet catches the default user list pages layout
* and looks for a profile_listing.tpl.php file in the same folder
* which has the new layout.
*/
return _phptemplate_callback('profile_listing', array('user' => $user, 'fields' => $fields));
}
and in the "profile_listing.tpl.php" i want to show some added date-fields on the user list. but it just shows me: "From: Array To: Array"
From: <?php print $user->nica_from ?>
To: <?php print $user->nica_to ?><br />
how do i make the code to interpret the array and show me the real date?? it works perfekt in the personal about sites of the users, but not in the user-list.
thank you for helping me,
Comments
is there anybody out there?
is there nobody who could help me with that problem. please help me.