user avatar
user avatar
user avatar
apaderno
Moderator
  • Member for 11 years, 4 months
  • Last seen this week
  • Brescia, Italy
69 votes
Accepted

Print the query which is built using db_select()

68 votes
Accepted

Difference between create new and edit node in form alter

66 votes
Accepted

How do I get the node ID from the URL?

53 votes
Accepted

Strict warning: Only variables should be passed by reference

52 votes
Accepted

What is $form_state used for?

45 votes
Accepted

How do I programmatically render a view with contextual filters?

43 votes
Accepted

How do I use "NOT IN" in a query?

37 votes
Accepted

Check if the user is logged-in in a theme

37 votes
Accepted

How do I get the path for public://

33 votes

How do I change a theme based on the URL?

31 votes
Accepted

How to execute php script using drush?

30 votes
Accepted

How do I wrap two render array elements in a div?

30 votes
Accepted

Send user's password in mail

30 votes
Accepted

How can I programmatically change the active theme?

29 votes
Accepted

How do I silence PHP errors?

29 votes
Accepted

What's the difference between access arguments and access callback?

29 votes
Accepted

How do I customize the search result page?

26 votes
Accepted

Is check_plain() enough?

26 votes
Accepted

Using views with a custom table/schema

26 votes

Pass raw html to #markup

25 votes
Accepted

Check if user has access to a certain page

25 votes
Accepted

Add JavaScript files to the administrative pages

23 votes
Accepted

How do I insert HTML just before the body closing tag?

22 votes
Accepted

Is there a function to get the current user object that avoids accessing the global variable?

22 votes
Accepted

How do I set my views to return a 404 using Global: Null under contextual filters?

21 votes

How to programmatically create a custom token in a module

21 votes

How do I pass variables to JavaScript?

20 votes
Accepted

Alternatives to hook_init()

20 votes
Accepted

Do I need a cron task for processing a queue?

19 votes

What is the purpose and differences between drupal_goto(),drupal_redirect_form() and $form_state['redirect']?

1
2 3 4 5
80