Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14611 reviews 1734 hosting providers

Questions & Answers

Drupal 7 / creating a table with editable values

Oct 9, 2013 by carebare
I want to make a table that the website users can view. Users will need to first log in to submit the promotion request, then the table should display details such as the Promotion code, amount and time of request submission, and status. I want the status code  in the table to be editable only by admins. Are there any modules that can help me achieve this?
Your suggestions are highly appreciated.
Thanks and regards,

1 Answer

0 votes
Oct 9, 2013 by RalphK
First create a new custom content type and add all the requested fields. Then install this module  https://drupal.org/project/field_permissions and set your Status  field type to the admin. Then use this views module https://drupal.org/project/views to create the table that will display the requests. Add a relationship to pulls the requests only from logged users.