Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


list mgmt > sort by date (but not year) birthdays!
Date: 2007/12/02 07:15 By: altoidboy Status: User  
Karma: 1  
Senior Joomlapolitan

Posts: 56
graphgraph
i have a custom field in my cb profile: birthdays (cb is set to capture the date)

then i have a list defined which simply lists all of my members and lists their birthdays, and sorts by date ascending.

trouble is, it sorts by year-month-day, which i suppose makes sense in one context, but not in another.

i've got:

bob - january 1 1970
larry - july 1 1965

but larry is listed before bob since his birth year comes first. what i need is a month-day sorting of birthdays, irrespective of year.

any way to make cb do this?
Click here to see the profile of this user The administrator has disabled public write access.

Re:list mgmt > sort by date (but not year) birthdays!
Date: 2007/12/02 20:49 By: Desd Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 15
graphgraph
You could try to make your own 'date list' and have it in tree parts; day-list, month-list and a year list. Now you make a new filter for your birthday list and sort it by month and day.

Greetings,


Desd
Desd
Click here to see the profile of this user The administrator has disabled public write access.

Re:list mgmt > sort by date (but not year) birthda
Date: 2007/12/02 22:51 By: altoidboy Status: User  
Karma: 1  
Senior Joomlapolitan

Posts: 56
graphgraph
duh...why didn't i think of that? thanks desd!!
Click here to see the profile of this user The administrator has disabled public write access.

Re:list mgmt > sort by date (but not year) birthdays!
Date: 2008/11/22 23:05 By: mrfully Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 3
graphgraph
I need help with this...I'm trying to do the same...create a birthday list for each month and show all the birthdays within that month. I want this list ordered by day not year.

Example if I click on the May list it will show me all birthday in May as
May 1 whatever year
May 2 whatever year
May 3 etc

Not like
May 21 1975
May 1 1976
May 10 1977

Can you help me on the filter to use to achieve these results.

Thx
Click here to see the profile of this user The administrator has disabled public write access.

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC4)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC4, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers and now also to all registered joomlapolitans.

CB Login