custom data in drupal [closed]
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this questionvery new to drupal. I need to create section of my website that contains a directory of 300 companies. I think it be best to create separate databasetables and not开发者_运维百科 included this data in drupal's nodal architecture. Is there a typical/best practise way to manage custom data in drupal
You might want to take a look at the Drupal 7 Entity API. If you want to use your own database scheme within Drupal that would be the way to do it. I have been using it for a while and it sounds exactly like what you are looking for.
The way I did it was to get the module that allows you to use php in pages (PHP filter) and then write a simple database wrapper. Drupal provides a good theme framework that makes it pretty easy to make themed tables with support for sorting etc.
精彩评论