Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 1909

Version tags should be used for questions that apply to a version only, not to merely say what version a site is using.

6 votes
3 answers
307 views

What is required to get a custom module to appear in uninstall list?

Solution: Ayesh K provides the correct answer below. What is required to get a custom module to appear in uninstall list? I thought all you had to do was specify a database schema in hook_schema() …
Lester Peabody's user avatar
2 votes
2 answers
56 views

Is there a compelling reason to track sites.php with version control?

I'm wondering if sites.php is a file that should be tracked? I can see it being useful because domains tend not to change for any given site (not true for development, as I usually run a shortname.lo …
Lester Peabody's user avatar
14 votes
2 answers
6k views

What is the skeleton structure for a Drupal 7 module?

What are the files necessary for building a Drupal 7 module? What are the requirements for constructing a basic .info file? … The essence of this question is to provide a skeleton for building a basic Drupal 7 module from scratch. …
Lester Peabody's user avatar
16 votes
1 answer
1k views

Is there a way to do concurrent editing?

Is there a MediaWiki-like method for supporting concurrent editing of text bodies in Drupal 7? …
Lester Peabody's user avatar
0 votes
1 answer
245 views

Drupal, Crawlers, and Migrating from a Query string based site to a Clean URLs site

I have a (potentially huge) problem that I did not anticipate. I just built a beautiful new site for the organization I work for. It is a massive improvement over the previous site. The site is als …
Lester Peabody's user avatar
1 vote
0 answers
37 views

Merge users between multiple installations?

I'm faced with a particularly tricky task. I currently have a public facing website with a user base. I have a few custom fields attached to the users for things like first and last names. Now, I h …
Lester Peabody's user avatar
1 vote
2 answers
45 views

How to view nodes that only you have published?

I need to be able to incorporate into my system a method for which users can view nodes that only they have created. How can this be done?
Lester Peabody's user avatar
0 votes
2 answers
77 views

Give user 1 status to someone else?

I'm in the process of leaving my current job, and that requires that all of my accounts be disabled. Well, some of those accounts are user 1 accounts in a few of our Drupal sites. Is it possible to …
Lester Peabody's user avatar
1 vote
1 answer
257 views

How do you update the default value for a field programmatically?

How do you update the default value for a field programmatically? I know you can get the field instance info by calling field_info_instance, but how do you update that info?
Lester Peabody's user avatar
0 votes
1 answer
48 views

Modify form elements based on current select box value in same form?

I'm writing a custom module and I have a select box in a form with two values, Test and Production. I want to remove a specific fieldset from the form if Production is selected, and add it back if Te …
Lester Peabody's user avatar
2 votes
1 answer
2k views

Separate classes in include file not loading?

module.info name = Module description = Module description package = Module Package core = 7.x scripts[] = my_module.js files[] = includes/my_module.class.inc …
Lester Peabody's user avatar
3 votes
1 answer
117 views

Drupal cache expire value of -1?

What does a value of -1 mean when it's present in the expire field of a cache entry in the database? I've honestly looked around and could not find an answer.
Lester Peabody's user avatar
2 votes
3 answers
7k views

Get the last revision id of any given entity?

Is there a single, unified method in Drupal 7 to get the last revision id for any given entity object? If so, what is that method? …
Lester Peabody's user avatar
1 vote
1 answer
2k views

error_get_last() returns NULL after valid error in Drush

I have the following command callback function defined in my .drush.inc file: function drush_bv_ftp_products() { echo $aadfadf; var_dump(error_get_last()); } Assume hook_drush_command() is prop …
Lester Peabody's user avatar
4 votes
3 answers
1k views

How do I crop only height?

How can this be done in Drupal 7? EDIT: The process needs to be automated. …
Lester Peabody's user avatar

1
2 3 4 5 6
15 30 50 per page