T
T
Taras Labiak2014-09-29 21:57:59
PHP
Taras Labiak, 2014-09-29 21:57:59

How to make a DataGrid (CRUD) for a table in Drupal?

It is necessary to make a page for viewing the table, for the records of which you can set your own links (functions) for editing and deleting. Recommend any module for this. Although, I suspect that it will be quite simple to create it (the DataGrid) yourself. In that case, can you provide an example. The form for creating entries is already there, you can use it for editing.
PS. Although I have only known Drupal 7 for a few days, I have never fallen in love with anything so quickly)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
RuJet, 2014-10-09
@RuJet

If you only need to draw a conclusion, then read towards the views api.
Here it is well written.
www.grasmash.com/article/demystifying-views-api-de...
This is the help section on views hooks
https://api.drupal.org/api/views/views.api.php/gro...
Described in table in your module and then collect views.
After enabling the module, if you correct it, do not forget to reset the cache.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question