Search Results
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 |
Version tags should be used for questions that apply to a version only, not to merely say what version a site is using.
1
vote
How can I prevent text areas from being resizable?
Overriding this in the theme is a last minute change, which modules won't have a chance to react on.
It's just as easy to do this via a module and a #process callback:
/**
* Implements hook_element …
29
votes
How to completely turn off caching?
You can replace the default cache backend to one which does not actually do anything.
Simply add this to your settings.php file:
if (!class_exists('DrupalFakeCache')) {
$conf['cache_backends'][] = …
2
votes
How to delete a form element via ajax?
Adding a value using that code won't actually work since you've only defined one textfield, and thus, only one value will be stored. All the new fields returned will have the same id/name as the first …
2
votes
Accepted
How can I gracefully interrupt an AJAX callback?
That's not directly possible. There is no API in the browser to manually cancel a sent request. All you can do is to register a callback to know when the HTTP response is received, or at least when th …
0
votes
Can you do branching multistep forms in ctools?
Yes, branching logic can be done.
If your validation/submit handler for step 1 sets $form_state['clicked_button']['#next'] = '2c, your next step will be 2c.
There are a few gotchas, which may or may …
2
votes
How to add "Content type B" from within "Content type A" and then display both together?
Sounds like you could use Inline Entity Form with a reference field on type A to allow adding the type B nodes while viewing it, combined with some access control like Field Permissions. (If I'm not m …