I suffer from a chronic illness and have to be very strict with my diet and the quantity of food I eat. I love drupal and the web and would like to create a web app where I can track my daily food intake. I would like to find out if this is possible with Drupal. Any help from people that have done something similar would be greatly appreciated. Here is a list of functionality I need and if I have found a possible solution (I have not tried the proposed solutions, so not sure yet if they will fulfill all the requirements):
1. Enter nodes for each type of food I can eat. - I think that I willl use CCK to create a content type with the fields for foods such as carbs, protein, fat, etc. Once I have the content type, I can enter all the foods I can eat.
2. Create a daily post that has a list of all the foods I ate for that day. - I think I can use one of the node reference and multi select modules to select from a table containing the foods that I have listed. The dialy post will be a new content type.
3. Select multiple foods multiple times. For instance, if I eat an apple for breakfast and lunch, I need an apple too show up twice in my node reference list. I have no idea if I can do this.
4. Lastly, when I look at my posts after they are entered, I need to see totals for calories, protein, carbohydrates, fiber, etc. I have no idea if I can do this.
My chronic illness effects my energy and mental focus so I am trying to avoid php and coding at this point.
To the point, I need to know if Drupal can do the following:
1. Allow me to select the same node in a node reference filed multiple times to have a node show up multiple times.
2. View my daily food log post with totals for integer fileds that have carbs, calories, fiber, etc.
Any help would be much appreciated!
Comments
Webform
Have you looked at the possibility of using Webform with webform_report?
It will take no PHP coding and you will be able to set it up yourself. I don think there is a module other than CCK that can satisfy you requirements out of the box.
I'm not an expert with webform but it is very capable of collecting data for analysis with little effort on the setup front.
Your food types will not be nodes though. But you can use CCK to extend webform by adding additional fields.
Links:
http://drupal.org/project/webform_report
http://drupal.org/project/webform
http://drupal.org/handbook/modules/webform
Can someone else please help?
Can others with relevant experinece please lend a hand?