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.
4
votes
Accepted
How to embed Drupal content in other websites?
You can use the Views module to output content as XML/RSS and add a widget to your target site that can build links based on the content in your XML feed.
Depending on your target site there may be p …
2
votes
1
answer
2k
views
Track clicks in Drupal 7 and querying with Views
I'm looking to log clicks from generated URLs that are sent via email. I need to be able to query these log entries and display the results to my users using the Views module.
What I need to track.
…
1
vote
Restrict users from creating certain title
Module Approach
The Field Validation module may be able to help you validate titles and content.
Module Setup Details
Create a Black List
You could add a new 'blacklist' of words against a field i …
0
votes
Accepted
welcome page before main page (home page)
Modules
You could accomplish this with the Rules module and add granular control over who sees the splash page and when.
Additional Details
Create a new rule. (admin/config/workflow/rules/reaction/ …
1
vote
welcome page before main page (home page)
This project is in alpha, but the Splashify project may be what you're looking for.
3
votes
Accepted
Is it possible to make summary mandatory?
Short Answer
Yes, you can require the summary field be populated before it can be sumbitted.
Details
Implement hook_form_FORM_ID_alter() in a custom module.
hook_form_FORM_ID_alter(&$form, &$form_ …
2
votes
1
answer
52
views
Role Based Shared Control Panel
I'm looking for a way to allow members of a specific role to share a control panel/settings page. These users do not have admin level access and I would like to use the field api to store data.
Curr …
3
votes
2
answers
3k
views
How to save JSON with a node
I'm using Drupal 7 and MySQL 5.5. …
5
votes
1
answer
4k
views
How to modify Drupal configuration programmatically?
How can I modify the Drupal settings found on /admin/config/people/accounts (and other configuration pages) using a custom module?
For example, how do I rename the Anonymous user and change 'Who can …
2
votes
Download folder through drupal
Depending on what level of access your users have the ElFinder module is capable compressing and making a directory available for download.
What directory are you allowing your users to download? Be …
6
votes
How can I programmatically disable the "Preview" button in a content type?
If you want more control over when the preview button is disabled you can use hook_form_alter() and then unset($form['actions']['preview']);
Should give you the ability to enable and disable on the f …
3
votes
3
answers
2k
views
Creating a new menu item that links to /user
How do I format an array item using hook_menu() that links to /user but has a new title and is only accessible to logged in users?
Currently I'm using
$items['user'] = array(
'title' => 'A …
2
votes
1
answer
567
views
Inserting Fields from A Custom Content Type into Custom Form
I created a custom content type called 'Building Location' that contains a custom field called 'US_States'.
Is there a way I can access and include the 'US_States' field into a custom form I'm buildi …
0
votes
2
answers
3k
views
Required Checkbox Field Has No Effect
I used hook_form_alter to add a required 'confirmation' checkbox to the node deletion form and the #required status is not honored.
The fields/fieldset are property displayed 'node-delete-confirmatio …
3
votes
1
answer
416
views
Add Additional Submission Processing To "Create Node" forms
Which hooks can I implement in Drupal 7 to add additional processing steps to the node creation process. …