By macuhail on
We need to create a site where a number of users can input data, sales for example, and track this data. Each user should be able to go to his account or profile and enter the information. Then the data will be displayed in a graph for each user.
I guess the charts module is the best way to display the graphs. However, I am not sure how to create a way for users to input data that will be linked to their personal profile or account.
Thanks for any suggestions.
Comments
Drupal always stores the
Drupal always stores the author of a node, so in fact user-entered data is always linked to the user. The only thing you would have to do is set up a view that displays a list of nodes entered by the current user.
Thanks for the info. I
Thanks for the info. I didn't know I could set up a view that way.
User-entered data through Views?
I'm experiencing a similar challenge with D6.6. I've used CCK to create a new Node Content Type with Fields that I want users to populate or load data into that will be searchable and can be queried. I understand mechanically that CCK creates new tables to hold this data. I've successfully created the Content Type, used this type to create a view and can populate the new type through the navigation menu using the admin account, but haven't had any luck using Views to input data from other accounts with the appropriate permissions. I don't want the Title and Body fields to be viewable by the users which is why I've taken the views approach where I can control this.
Q1) Is this the best approach for simplicity and functionality? -OR-
Q2) Do I need to take the Forms API approach and code this up as a custom form? -OR-
Q3) Is there a recommended module that minimizes or eliminates the form gen burden?
I'm not sure if I completely
I'm not sure if I completely understand your question, especially when you write "using Views to input data from other accounts with the appropriate permissions". Views is not meant for data input, it displays data.
I see that you have set up your own content type and that you want to display the information in a certain way. Are you displaying a list of nodes, or a single node at a time? Views is great for lists, but not needed for single node pages.
Does your node contain all data you want to display, or is there another source of data (ie. a user profile) where you want to pull data from?