0

I have created a custom content type (Testimonial), with the following fields: customer name, testimonial, company name. Each of them is stored in a different table.

How can I use the records to display in the front end? Is it advisable to use custom content type for this purpose?

  • 1
    Look into the Views module ( drupal.org/project/views ) as it will allow you to show your (and all other) content types in all kinds of ways on your site. – Jimajamma Mar 15 '13 at 13:32
1

Drupal has is own storage system in database. Your don't really need to know how datas are stored and even if datas are in severals tables, you can use functions like node_load() or node_view(), which are awesome because you do not write any joined sql queries and fields datas are automaticly returned in a node object

Use the Views module to display a list of nodes of a certain type.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.