Top "Drupal-7" questions

Drupal 7 is the Drupal version that was officially released on January 5, 2011.

Gmail smtp configuration for Drupal 7

I want to send email in Drupal 7. So, does anyone know how to configure Gmail SMTP on Drupal 7?

email smtp gmail drupal-7
Adding a class to "body"

How can I modify or pre-process the <body> tag to add the class body? I don't want to …

drupal drupal-7 drupal-theming
Adding text (just text!) to a form in Drupal 7

OK, I finally figured out how to add (or edit) form controls through the form API in Drupal. But now, …

forms api drupal drupal-7 drupal-forms
Drupal 7: Best Practice for a Dynamic Select List in Drupal 7

What is the best practice for a dynamic select list in Drupal 7? Create a Field with dummy options via the …

dynamic drupal-7 selectlist form-api
Render a Drupal node

I would like to show a node inside another node. So I retrieve the node id of the second node …

drupal drupal-7 drupal-nodes drupal-render
AJAX form validate and submit

I created a form in Drupal 7 and want to use AJAX. I added this to the submit button array: "#ajax" =&…

jquery ajax drupal-7 drupal-forms
Export content type in Drupal 7

Is there a way to export a content type from a site and import it to another? I haven't found …

drupal import drupal-7 export content-type
How to disable a field or make it readonly in Drupal 7

I am trying to disable couple of fields and make them readonly via hook_page_alter(). I was able to …

drupal-7 field form-api
How to get the currently logged in user's role in Drupal 7?

How to get the currently logged in user's role in Drupal 7 ? Do you know a simple way of accomplish this ? …

drupal login drupal-modules drupal-7
Drupal 7 How to override page.tpl for specific content type?

I wanted to override page.tpl.php for specific content type. I have tried these thing, nothing works for me. …

drupal drupal-7 drupal-theming