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 not deleted user 4029

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

0 votes

Pathauto and dynamic branch depth

I'm also quite miffed by this missing bit of critical functionality. A workaround you could use for now is to use the token [node:field-section:url:relative] (replace "section" with the name of the …
Adam Friedman's user avatar
4 votes
2 answers
2k views

How do I optimize a Views "execute_count_query"?

So, I was able to optimize a particularly nasty query in one of my views using mymodule_views_query_alter(), bringing it from 13 seconds down to about 200 milliseconds. However, I see in my Devel que …
Adam Friedman's user avatar
5 votes
1 answer
4k views

How do I remove the "where" clause from a structured query object in hook_query_alter()?

Jumping off of this question, I'd like to know how to gracefully detect and remove each snippet in the WHERE clause of my query object in plain old hook_query_alter(), not hook_views_query_alter() (as …
Adam Friedman's user avatar
1 vote
0 answers
611 views

How to pass a file id (or fid) as a Views argument through a Panel?

I'm trying to create two block views in a panel variant, in order to create a photo gallery ("Stage" view plus "All Thumbnails" view). The main problem I have right now is the "Stage" view which take …
Adam Friedman's user avatar
1 vote
1 answer
352 views

How do I find (or create) a File Template override in Panels 3?

So I'm using Panels 3 and Drupal 7 and it makes it damn easy to override the default templates for a taxonomy term template, a node template, even the front page template. …
Adam Friedman's user avatar
5 votes
1 answer
2k views

In Drupal 7, how do I create a custom rules event for any and all file entities?

I'm having trouble creating a small module to add an Event scenario to Rules using the Rules API. Basically, I'm creating a rule that should detect to see if certain fields of a file entity have cert …
Adam Friedman's user avatar