Posted by Babalu on June 24, 2009 at 7:35pm
Jump to:
| Project: | Site User List |
| Version: | 6.x-1.0-beta1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | pooneil |
| Status: | closed (fixed) |
Issue Summary
i have this bug (see pic) on the site user list with the birthday field.
this field depends on the birthday module
| Attachment | Size |
|---|---|
| site user list.jpg | 21.89 KB |
Comments
#1
Hi Babalu,
Drupal stores the birthdays as serialized. That's why you are getting that odd looking string. To fix this, you'll need to go into the site user list settings and then go to the tab "fields". Find your birthday field and set it up like this:
Template:
return implode('/', unserialize($r['@profile_birthday']));also check off "use eval for this template"
Right now, however, the current version of site user list does not allow you to use the "$r" array in the template field. However, I've committed a fix for this and it will work in the next release (which I am currently preparing).
Regards,
Anthony
#2
Automatically closed -- issue fixed for 2 weeks with no activity.