By horaceho on
I need to create a content type with unlimited "date + description" field pair, i.e.
Title: [_____]
Body: [_____]
YYYY/MM/DD [description 001]
YYYY/MM/DD [description 002]
...
YYYY/MM/DD [description n]
After reading http://drupal.org/node/119102, it seems that FlexiField is what I need. However, http://drupal.org/node/300668 indicates FlexiField does not work well with Views (on which I need to show the list of date events on Calendar view).
So, it there a "Date with Comment" module out there (similar to Image with Description)? Or, any pointer to how I can learn to write a module myself?
Thanks very much!
Comments
=-=
you can add text boxes for descriptions using CCK's text field.
What I need is unlimited,
What I need is unlimited, pairs of, date and description.
If I use simple data and text. The input screen will looks like (as an example):
2009/05/01
2009/05/02
2009/05/03
2009/05/04
+ Add more date
Paper work
Review
Submission
Completed
+ Add more description
What I want is:
2009/05/01 Paper work
2009/05/02 Review
2009/05/03 Submission
2009/05/04 Completed
+ Add more event
such that date and description are added as a pair of field, instead of two individual fields.
Thanks
Screen attached
Add / View screens attached to clarify the request.
http://218.189.43.201/tmp/Add.png
http://218.189.43.201/tmp/View.png
Thanks
Subscribing. I'm looking for
Subscribing. I'm looking for the same thing.
-----------------------------------------------------
Bob @ Drupal Aid (https://www.drupalaid.com)
=-=
seems to me you can theme the form to look the way you want it to.
a place to start = http://agaric.com/note/how-theme-drupal-form
Not just theming, there needs
Not just theming, there needs to be a database field also.
-----------------------------------------------------
Bob @ Drupal Aid (https://www.drupalaid.com)
=-=
I was under the impression that the OP already has two fields. One a date field and one a date description field. If this is the case than one can create a text field in their content type and then theme them next to one another on both the form and on display if one wanted.