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 35653

Use it to generally reference to those files used on websites which could be video, images, pdfs, etc.

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. …
Sasha's user avatar
  • 254
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 …
Sasha's user avatar
  • 254
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 …
Sasha's user avatar
  • 254