Download & Extend

birthday field and/or birthday module

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

AttachmentSize
site user list.jpg21.89 KB

Comments

#1

Assigned to:Anonymous» pooneil
Status:active» fixed

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

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here