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 |
Use it to generally reference to those files used on websites which could be video, images, pdfs, etc.
2
votes
Accepted
How to programmatically create node with image file saved from remote source?
Finally have figured out. The following code works fine:
$file = file_save_data(file_get_contents($image_url), file_default_scheme().'://tmp/'.basename($image_url));
$file->status = 1;
$node->field_i …
0
votes
How to implement access permissions per individual field and individual nodes?
I solved this problem using some code in the theme templates. Still I believe there should be a Drupal module for this specific purpose. There are per individual node permissions (not per content type …
3
votes
1
answer
4k
views
How to programmatically create node with image file saved from remote source?
Only files with the following extensions are allowed: jpg jpeg gif png txt doc xls pdf ppt pps odt ods odp. …