Questions tagged [drupal]

Drupal is an open source CMS framework written in PHP. *IMPORTANT* Rather than using this tag, consider posting your question directly on https://drupal.stackexchange.com/. Also, because of substantial differences between major versions, consider using either the drupal-6, drupal-7 or drupal-8 tags.

Drupal is a highly configurable Content Management System (), and Web application . Questions here can often be answered in a programmatic manner, or through the use of modules and configurations. Backed by a very active developer community, the Drupal official ecosystem currently (Aug 2018) shows some impressive numbers:

  1. 2,655 Themes - Themes allow you to change the look and feel of your Drupal site. You can use themes contributed by others or create your own to share with the community;
  2. 41,159 Modules - Extend and customize Drupal functionality with contributed modules;
  3. 1,236 Distributions - Distributions, also referred to as installation profiles, provide site features and functions for a specific type of site as a single download containing Drupal core, contributed modules, themes, and pre-defined configuration. They make it possible to quickly set up a complex, use-specific site in fewer steps than if installing and configuring elements individually:
  4. 100+ Translations - Drupal core is just one of the 20,601 projects translated on the official server.

The latest version with official releases is Drupal 8. ( Drupal 7 is still largely used); For more details about the different versions, refer to Releases for Drupal Core

Drupal questions can also be asked on #drupal on the FreeNode IRC network, or on the drupal.org support forums.

Drupal Answers is a dedicated Stack Exchange site for Drupal. You are invited to use it for any questions specific to Drupal which are outside the scope of Stack Overflow.

Each major release of Drupal is not completely compatible with the previous; hence, the importance of using the version tags (e.g. , , , ) whenever appropriate.

General resources

Tutorials

20355 questions
156
votes
8 answers

How Drupal works?

Could someone provide a architectural overview of the Drupal 7 control flow? Perhaps in the sense of a flowchart about how a page gets generated. What additional resources would you suggest consulting with regards to how Drupal works?
alice
118
votes
8 answers

How to output (to a log) a multi-level array in a format that is human-readable?

I'm working on a drupal site and when debugging, I am always having to read through long, nested arrays. As a result, a large portion of my life is spent using the arrow, return, and tab keys, to split up 1000+ character strings into a nested,…
Mark Shiraldi
  • 2,401
  • 3
  • 15
  • 9
98
votes
3 answers

how to select all class except the clicked element in JQuery?

I have a website developed on Drupal. I use a module called collapsiblock (it is basicly a JQuery plugin) to achieve accordion like effect. It is working fine with me (although it is in Beta). But I want to modify it so that when the user clicks on…
85
votes
10 answers

How to quickly theme a view?

I've defined a view with the CCK and View 2 modules. I would like to quickly define a template specific to this view. Is there any tutorial or information on this? What are the files I need to modify? Here are my findings: (Edited) In fact, there…
Pierre-Jean Coudert
  • 9,109
  • 10
  • 50
  • 59
75
votes
19 answers

How to find version of Drupal installed

How can I know which version of Drupal is installed in my server?
tibin mathew
  • 2,058
  • 10
  • 41
  • 51
60
votes
7 answers

Drupal behaviors

What are Drupal behaviors at all? What type of service layer it offers to module developers? What type of relation it maps to jQuery.ready?
Shoaib Nawaz
  • 2,302
  • 4
  • 29
  • 38
55
votes
17 answers

CSS to hide INPUT BUTTON value text

I am currently styling an element with the following CSS: background: transparent url(someimage); color: transparent; I want the button to show as an image, but I don't want the value text to display on top of it. This works…
Scott Evernden
  • 39,136
  • 15
  • 78
  • 84
53
votes
1 answer

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, I would like to add text to a form. Not a