I have a custom content type that has a custom field called [stock]
I would like to have a single page that shows me ALL nodes [stock] values in a list and allows me to change the value. Is this possible?
Any advice would be much appreciated
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Well I was going to write a module to this but as usual with Drupal someone beat me to it!
You should download and install Views, and also the (quite frankly excellent) Slick Grid module. It provides a view type (Slick Grid) that will create a table of content, with inline editing enabled for fields. For more complex field types it provides a modal popup for editing instead.
It took me 10 minutes to create a view with the following output, which lets me edit fields directly in the table by double clicking on the cell:
The content is saved automatically to the database when you click off the edit cell again, and it’s all handled via AJAX which makes it very pleasant to use.
You can add as many fields as you like to the grid so I think this is exactly what you’re after 🙂