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.

3 votes
1 answer
518 views

How do you keep the login block on the same page when validation fails?

On pages where the login block exists, I need to stay on that page (and preserve query string arguments) if the validation fails when submitting the form. Does anyone have any idea how this could be …
0 votes
2 answers
643 views

Add class to all labels in a comment form

Using only functions in template.php, in Drupal 7, how can this be done? If it can't be done this way, what is the most straight-forward alternative? …
6 votes
5 answers
3k views

Publish nodes with drush?

I'm faced with the situation of needing to be able to publish content with Drush. Is there a way to use Drush to publish nodes? If there is, how can it be done?
7 votes
3 answers
11k views

Redirect /user/login to HTTPS, all other requests to HTTP

I'm using Drupal 7. The login page for my users is located at /user/login, so the default login path. …
1 vote
1 answer
2k views

Submitting disabled fields on content entry forms?

How can I submit a disabled field in Drupal 7? …
3 votes
2 answers
3k views

In hook_form_alter, when adding a custom field, control the order in which the field appears?

How can this be done "the Drupal 7 way"? Using DOM manipulation via JavaScript is not an option (and shame on you if you think it is). …
5 votes
1 answer
2k views

Implementing i18n string translation in a custom module?

I have a custom module I've built which essentially acts as a repository of custom CTools keywords that users can arbitrarily define. The issue I'm facing is I need to be able to translate these user- …
4 votes
4 answers
4k views

Change the "Submitted by" date type?

By default, in Drupal 7, the "Submitted by" date type is set to Medium. I want the "Submitted by" date to be rendered using a different type. How do I do this? …
0 votes
1 answer
1k views

Drush won't clear uploaded temporary files

So, working on a unix system, it's common that /tmp has the sticky bit set (i.e. only the owner of the temporary file can write/delete it). This is an issue when running drush cron. If I upload a fil …
20 votes
3 answers
8k views

Remove subject field from comments

Is it possible to remove the subject field on comment forms? I find it to be kind of useless and redundant, since the subject of the comment is usually the title of the article being read, at least f …
16 votes
4 answers
24k views

Advanced menu theming in Drupal 7

I've cruised around the web and it is not at all obvious how to theme custom menus. I've looked for hours and have not found one single post that illustrates the process, from start to finish, of cre …
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. …
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? …
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? …
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() …

1
2 3 4 5 6
15 30 50 per page