Drupal Answers Community Digest

Top new questions this week:

How to fix "User warning: The following theme is missing from the file system: statistics"?

I'm running Drupal 10.3.1. The Statistics module was deprecated with the 10.3 release. I uninstalled Statistics using drush (drush pmu statistics). The module was uninstalled without error, but now I ...

theming  
user avatar asked by Scott Hollenbeck Score of 1

Greatest hits from previous weeks:

How do I get only one result using db_query()

I am transitioning from 'old school' PHP MySQL methods of using mysql_fetch_array(), etc. and I am trying to be more Drupally by using the Database API in my modules. I simply want to return and ...

7 database  
user avatar asked by blue928 Score of 27
user avatar answered by optimusprime619 Score of 40

Print the query which is built using db_select()

I want to print the query which is built using db_select() in a programmatical way. Is there any API function provided by Drupal Abstraction Layer? It is similar to query output in Views, but I want ...

7 database  
user avatar asked by Sithu Score of 64
user avatar answered by avpaderno Score of 71

How can I block an abusive person who endlessly tries to register more accounts?

I have a free site with open registration; anyone can register and I am not able to change that. However, accounts must be approved by an administrator after completing a profile, so I have access to ...

users  
user avatar asked by Patrick Kenny Score of 43
user avatar answered by dotancohen Score of 51

What does rc stand for? when to use alpha, beta and dev instead?

how to name your projects project_name-7.25-1.0-alpha project_name-7.25-1.0-beta1 project_name-7.25-1.0-dev2 project_name-7.25-1.0-rc3 project_name-7.25-1.0-stable4 project_name-7.25-1.0-unstable5 ...

7  
user avatar asked by Mau Score of 16
user avatar answered by Free Radical Score of 22

How do I clear cache using an SQL query?

After a module update, my site has become unusable, and only shows a php error message. I tried circumventing the problem with drush cc, but that didn't help. Also tried with a custom php script but ...

caching  
user avatar asked by FLY Score of 26
user avatar answered by Letharion Score of 6

Manually disable a module

In Drupal 7, I could manually edit the {system} table in the database to disable a stubbon module. In my Drupal 8 site, this table is gone. How can I manually disable a module in Drupal 8?

8  
user avatar asked by bumpaw Score of 54
user avatar answered by Jigarius Score of 62

Add a custom submission handler to a form

How can I add a custom form submission handler? I tried adding $form['#submit'][] = 'mymodule_form_submit'; or $form['actions']['submit']['#submit'][] = 'mymodule_form_submit'; to hook_form_alter(). ...

forms 8  
user avatar asked by Yuseferi Score of 29
user avatar answered by MrD Score of 37
You're receiving this message because you subscribed to the Drupal Answers community digest.
Unsubscribe from this community digest       Edit email settings       Leave feedback       Privacy
Stack Overflow

Stack Overflow, 14 Wall Street, 20th Floor, New York, NY 10005

<3