Closed (duplicate)
Project:
Site User List
Version:
6.x-1.1-beta1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
21 May 2007 at 05:52 UTC
Updated:
10 Dec 2010 at 13:56 UTC
Hi, When I use your module to show a date field, when seeing the list, the date show in this way:
a:3:{s:4:"year";s:4:"1965";s:5:"month";s:2:"10";s:3:"day";s:1:"8";}
Comments
Comment #1
pukku commentedHi! This is really the same problem as http://drupal.org/node/138113. The code there won't help you, because the 5.x codebase has completely changed. I do have plans to solve this problem in a better way, but it may take some time, because I have a number of other things than need to happen first.
In the short term, you could make it display properly with an eval template, but I don't have the code for that one off the top of my head. Also, that wouldn't be searchable or sortable.
Ricky
Comment #2
tanjerine commentedHi! I have been wrestling with this same problem the past 2 hours. I came up with a kludge* for this, in case anyone has the same problem. here's how i did it for my setup (drupal 4.7 using postgres):
under the site_user_list.module file look for function _site_user_list_regen (around line 393 or so). i edited the while loop (~line 411) to look like this
this works for my site and it's sortable & searchable too.
* there probably is a better way, but im a relatively new drupal user....
Comment #3
tanjerine commentedmy bad... i forgot the last " } " in my submitted code. and i couldn't edit my previous post. oh, and yes, i know the issue is for 5.x but i experienced the same thing with 4.7 so i thought to submit my kludge here. :)
Comment #4
mdekkers commentedI am seeing the same issue - do you have an idea when this would be looked at?
Comment #5
mrottke commentedSeems the issue still persists with 6.x-1.1-beta1
Any chance you'll find the time to fix that?