Hello all!

I'm trying to do the following:

Make a custom CCK field module which has a from/to date accompanied by a text field. I need this to make a CV node-type. The reason I want it as one single field, is that I need to be able to have multiple values. These are two examples of what I want it to look like:

Education
2000-2005 School of the Hard Knocks
1999-2000 Springfield Elementary

General feeling
2006 A very good year indeed
2000 Horrible horrible times

I'd need the field to be able to do from-date and from/to-date. I need them to be dates so I can make nicely managed lists with Views...

I have looked around for something like this, which I maybe could modify (I'm no from-scratch coder), but I haven't been able to find anything.. Initially, I thought there had to be something like this out there, but alas...

If anyone has an idea of how this could be done I would be very grateful!!

Thanks,
joeboris

Comments

maulwuff’s picture

there is a module for cck, adding a date or a date from/to -field to the content type.
"Create dates with a single input element, or add a second date input element to create 'From' and 'To' dates."
from http://drupal.org/project/date

joeboris’s picture

Not quite...

In addition to the dates, which could well be just numbers (if they are sortable), i need the text-part. This is to be able to fill out something like this in one form field...

2000-2005 School of Cleverness

...so I can easily let my users click the multiple select checkbox and fill out as many - for instance - Education fields they wish, without making a ton of date-fields and school-fields which aren't linked together...

praxonline’s picture

Is there a definitive solution for this issue. I want to address the same in my project. Any help will be greatly appreciated.
I'm using date module to use date ranges. Certificates are created like

Cert1: 12-Jun-2010 - 12-Jun-2011
Cert2: 22-Jun-2010 - 22-Jun-2011
Cert3: 23-Jun-2010 - 23-Jun-2011

I need an "Add More" button when creating the above items so users can add certificates in the content node.